Possible bug (was Re: numpy, overflow, inf, ieee, and rich comparison)
Martin Luethi
luthi at vaw.baug.ethz.ch
Wed Oct 11 04:10:42 EDT 2000
More information about the Python-list mailing list
Wed Oct 11 04:10:42 EDT 2000
- Previous message (by thread): Possible bug (was Re: numpy, overflow, inf, ieee, and rich comparison)
- Next message (by thread): Possible bug (was Re: numpy, overflow, inf, ieee, and rich comparison)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I just tried out these examples on Linux (SuSE 6.4 on PIII) and Solaris 5.7 (on Sparc architecture) and I get different behaviour with for the expressions. Both Python interpreters have been compiled with a nearly identical version of gcc Python 1.6b1 (#1, Aug 23 2000, 16:12:27) [GCC 2.95.1 19990816 (release)] on sunos5: >>> print exp(-746.0) Traceback (most recent call last): File "<stdin>", line 1, in ? OverflowError: math range error Python 1.6 (#1, Oct 3 2000, 20:47:38) [GCC 2.95.2 19991024 (release)] on linux2: >>> print exp(-746.0) 0.0 >From this I suspect some libc incompatibility. Hope this helps.... Martin Lüthi
- Previous message (by thread): Possible bug (was Re: numpy, overflow, inf, ieee, and rich comparison)
- Next message (by thread): Possible bug (was Re: numpy, overflow, inf, ieee, and rich comparison)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list