curious problem with large numbers

Scott David Daniels Scott.Daniels at Acm.Org
Thu Apr 7 20:40:12 EDT 2005


Terry Reedy wrote:
> On my Windows machine with 2.2.1, I get exactly what you expected:
> 
>>>>1e10000
> 1.#INF
> ...
> If you get wrong behavior on a later version, then a bug has been 
> introduced somewhere, even perhaps in VC 7, used for 2.4.

Nope, it is also there for 2.3.4 (May 25 2004, 21:17:02).  This is not
necessarily a bug in the sense of a fixable bug; floating point has
vagaries that are not necessarily easily controllable from the C source
side.

--Scott David Daniels
Scott.Daniels at Acm.Org



More information about the Python-list mailing list