What is the maximum value of float in Python?

PythonServer Side ProgrammingProgramming

In sys module, a struct sequence (tuple of named elements) called float_info has been defined. In this structure, an element max returns maximum representable finite float number.

>>> import sys
>>> sys.float_info.max
   1.7976931348623157e+308
raja
Published on 28-Dec-2017 10:06:40
Advertisements