curious problem with large numbers

Ivan Van Laningham ivanlan at pauahtun.org
Fri Apr 8 09:13:48 EDT 2005


Hi All--
Windows XP, uwin running on Athlon XP 3000+:

0 [/c/users/ivanlan][1] python
Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> 1e10000
1.#INF
>>>

Metta,
Ivan

Michael Spencer wrote:
> 
> > A further Windows data point from Cygwin:
> >
> > Python 2.4 (#1, Dec  4 2004, 20:10:33)
> > [GCC 3.3.3 (cygwin special)] on cygwin
> > Type "help", "copyright", "credits" or "license" for more information.
> >  >>> 1e10000
> > Inf
> >  >>>
> >
> > regards
> >  Steve
> I guess the behavior is also hardware-dependent.  FWIW, I tested on an Athlon XP
> box.
> 
----------------------------------------------
Ivan Van Laningham
God N Locomotive Works
http://www.andi-holmes.com/
http://www.foretec.com/python/workshops/1998-11/proceedings.html
Army Signal Corps:  Cu Chi, Class of '70
Author:  Teach Yourself Python in 24 Hours



More information about the Python-list mailing list