I think the maximum integer in python is available by calling `sys.maxint`

.

What is the maximum `float`

or `long`

in Python?

This question is related to
`python`

`int`

`long-integer`

`max`

For `float`

have a look at `sys.float_info`

:

```
>>> import sys
>>> sys.float_info
sys.floatinfo(max=1.7976931348623157e+308, max_exp=1024, max_10_exp=308, min=2.2
250738585072014e-308, min_exp=-1021, min_10_exp=-307, dig=15, mant_dig=53, epsil
on=2.2204460492503131e-16, radix=2, rounds=1)
```

Specifically, `sys.float_info.max`

:

```
>>> sys.float_info.max
1.7976931348623157e+308
```

If that's not big enough, there's always positive infinity:

```
>>> infinity = float("inf")
>>> infinity
inf
>>> infinity / 10000
inf
```

The `long`

type has unlimited precision, so I think you're only limited by available memory.

- programming a servo thru a barometer
- Is there a way to view two blocks of code from the same file simultaneously in Sublime Text?
- python variable NameError
- Why my regexp for hyphenated words doesn't work?
- Comparing a variable with a string python not working when redirecting from bash script
- is it possible to add colors to python output?
- Get Public URL for File - Google Cloud Storage - App Engine (Python)
- Real time face detection OpenCV, Python
- xlrd.biffh.XLRDError: Excel xlsx file; not supported
- Could not load dynamic library 'cudart64_101.dll' on tensorflow CPU-only installation
- Upgrade to python 3.8 using conda
- Unable to allocate array with shape and data type
- How to fix error "ERROR: Command errored out with exit status 1: python." when trying to install django-heroku using pip
- How to prevent Google Colab from disconnecting?
- "UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure." when plotting figure with pyplot on Pycharm
- How to fix 'Object arrays cannot be loaded when allow_pickle=False' for imdb.load_data() function?
- "E: Unable to locate package python-pip" on Ubuntu 18.04
- Tensorflow 2.0 - AttributeError: module 'tensorflow' has no attribute 'Session'
- Jupyter Notebook not saving: '_xsrf' argument missing from post
- How to Install pip for python 3.7 on Ubuntu 18?
- Python: 'ModuleNotFoundError' when trying to import module from imported package
- OpenCV TypeError: Expected cv::UMat for argument 'src' - What is this?
- Requests (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.") Error in PyCharm requesting website
- How to setup virtual environment for Python in VS Code?
- Pylint "unresolved import" error in Visual Studio Code
- Pandas Merging 101
- Numpy, multiply array with scalar
- What is the meaning of "Failed building wheel for X" in pip install?
- Selenium: WebDriverException:Chrome failed to start: crashed as google-chrome is no longer running so ChromeDriver is assuming that Chrome has crashed
- Could not install packages due to an EnvironmentError: [Errno 13]
- OpenCV !_src.empty() in function 'cvtColor' error
- ConvergenceWarning: Liblinear failed to converge, increase the number of iterations
- How to downgrade python from 3.7 to 3.6
- I can't install pyaudio on Windows? How to solve "error: Microsoft Visual C++ 14.0 is required."?
- Iterating over arrays in Python 3
- How do I install opencv using pip?
- How do I install Python packages in Google's Colab?
- How do I use TensorFlow GPU?
- How to upgrade Python version to 3.7?
- How to resolve TypeError: can only concatenate str (not "int") to str
- How can I install a previous version of Python 3 in macOS using homebrew?
- Flask at first run: Do not use the development server in a production environment
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- What is the difference between Jupyter Notebook and JupyterLab?
- Pytesseract : "TesseractNotFound Error: tesseract is not installed or it's not in your path", how do I fix this?
- Could not install packages due to a "Environment error :[error 13]: permission denied : 'usr/local/bin/f2py'"
- How do I resolve a TesseractNotFoundError?
- Trying to merge 2 dataframes but get ValueError
- Authentication plugin 'caching_sha2_password' is not supported
- Python Pandas User Warning: Sorting because non-concatenation axis is not aligned
- [Move to What is the maximum float in Python?]

- How can I convert a char to int in Java?
- How to take the nth digit of a number in python
- "OverflowError: Python int too large to convert to C long" on windows but not mac
- Pandas: Subtracting two date columns and the result being an integer
- Convert bytes to int?
- How to round a Double to the nearest Int in swift?
- Leading zeros for Int in Swift
- C convert floating point to int
- Convert Int to String in Swift
- Converting String to Int with Swift
- Difference between int and double
- Function stoi not declared
- How to convert ‘false’ to 0 and ‘true’ to 1 in Python
- How can I read inputs as numbers?
- Unsupported operand type(s) for +: 'int' and 'str'
- How to set null value to int in c#?
- "int cannot be dereferenced" in Java
- Python sum() function with list parameter
- Javascript String to int conversion
- How can I prevent java.lang.NumberFormatException: For input string: "N/A"?
- Convert int to char in java
- Converting a column within pandas dataframe from int to string
- %i or %d to print integer in C using printf()?
- casting int to char using C++ style casting
- How to convert QString to int?
- How to convert float value to integer in php?
- How can I write these variables into one line of code in C#?
- Better way to convert an int to a boolean
- Converting EditText to int? (Android)
- Difference between int32, int, int32_t, int8 and int8_t
- How to check if an int is a null
- TypeError: Can't convert 'int' object to str implicitly
- Java : Sort integer array without using Arrays.sort()
- How to convert int to float in C?
- C char* to int conversion
- python int( ) function
- Java, Simplified check if int array contains int
- How to convert NUM to INT in R?
- Is the size of C "int" 2 bytes or 4 bytes?
- Converting a double to an int in C#
- Convert char array to a int number in C
- Convert hex string (char []) to int?
- How to convert an int value to string in Go?
- Int to Decimal Conversion - Insert decimal point at specified location
- int main() vs void main() in C
- How do I limit the number of decimals printed for a double?
- What is the difference between Integer and int in Java?
- Converting a double to an int in Javascript without rounding
- Splitting String and put it on int array
- Convert unsigned int to signed int C
- [Move to What is the maximum float in Python?]

- "OverflowError: Python int too large to convert to C long" on windows but not mac
- How to check a Long for null in java
- What is the difference between "long", "long long", "long int", and "long long int" in C++?
- java.math.BigInteger cannot be cast to java.lang.Long
- A long bigger than Long.MAX_VALUE
- Definition of int64_t
- How to convert string to long
- Convert python long/int to fixed size byte array
- Converting Long to Date in Java returns 1970
- Division of integers in Java
- Initialize a long in Java
- How to printf long long
- How could I convert data from string to long in c#
- How to convert a String to long in javascript?
- How do I convert Long to byte[] and back in java
- What is the maximum float in Python?
- How to printf "unsigned long" in C?
- Java: random long number in 0 <= x < n range
- How to convert / cast long to String?
- long long in C/C++
- How do I convert from int to Long in Java?
- [Move to What is the maximum float in Python?]

- Min and max value of input in angular4 application
- numpy max vs amax vs maximum
- mongodb how to get max value from collections
- Python find min max and average of a list (array)
- Max length UITextField
- How to find the highest value of a column in a data frame in R?
- MAX function in where clause mysql
- Check if all values in list are greater than a certain number
- How do I get the max and min values from a set of numbers entered?
- SQL: Group by minimum value in one field while selecting distinct rows
- Java Minimum and Maximum values in Array
- Excel CSV. file with more than 1,048,576 rows of data
- How to find the maximum value in an array?
- Find maximum value of a column and return the corresponding row values using Pandas
- Get the row(s) which have the max value in groups using groupby
- How to find item with max value using linq?
- max value of integer
- How can I find the maximum value and its index in array in MATLAB?
- Need to find a max of three numbers in java
- Return Max Value of range that is determined by an Index & Match lookup
- Minimum and maximum date
- Return index of greatest value in an array
- Using std::max_element on a vector<double>
- How can I get the max (or min) value in a vector?
- Find the smallest amongst 3 numbers in C++
- Taking the record with the max date
- How can I limit possible inputs in a HTML5 "number" element?
- Python: Maximum recursion depth exceeded
- How to SELECT by MAX(date)?
- Remove NA values from a vector
- How to get max value of a column using Entity Framework?
- Min/Max of dates in an array?
- Find the item with maximum occurrences in a list
- How do I get indices of N maximum values in a NumPy array?
- How to get the index of a maximum element in a NumPy array along one axis
- How to scale down a range of numbers with a known min and max value
- What is the maximum number of edges in a directed graph with n nodes?
- Find the max of 3 numbers in Java with different data types
- How to find all positions of the maximum value in a list?
- What is the maximum float in Python?
- MIN and MAX in C
- How do I find the maximum of 2 numbers?
- Find the greatest number in a list of numbers
- Getting the index of the returned max or min item using max()/min() on a list
- Java: Finding the highest value in an array
- SQL not a single-group group function
- Use of min and max functions in C++
- How to get the max of two values in MySQL?
- How might I find the largest number contained in a JavaScript array?
- How to perform .Max() on a property of all objects in a collection and return the object with maximum value
- [Move to What is the maximum float in Python?]