No float limits
dsh8290 at rit.edu
Wed Jul 4 00:24:43 CEST 2001
On Tue, Jul 03, 2001 at 11:37:51PM +0200, Jürgen Hermann wrote:
| I just stumbled over the fact that there is sys.maxint, but no sys.maxfloat
| and sys.epsfloat. In case anyone thinks this is a valid addition, I'll come
| up with a patch.
What value would sys.maxfloat have?
IIRC IEEE754 states that all ones (ie 0xFFFFFFFF for a single
precision float) means infinity, so there really isn't a "max" value
for a float.
More information about the Python-list