[Python-Dev] RE: Possible bug (was Re: numpy, overflow, inf, ieee, and rich comparison)

Charles G Waldman cgw@fnal.gov
Fri, 13 Oct 2000 13:38:26 -0500 (CDT)


Tim Peters wrote:
 > I'm very keen to know whether the current CVS version of Python
 > (2.0c1) still raises OverflowError for math.exp(-746) on your
 > Solaris and/or Tru64 Unix boxes.

I just repeated this test, on the following 4 platforms:

1)   SunOS fsui02 5.6 Generic_105181-21 sun4u sparc SUNW,Ultra-Enterprise
     cc: WorkShop Compilers 4.2 30 Oct 1996 C 4.2

2)   OSF1 V4.0 878 alpha
     DEC C V5.6-079 on Digital UNIX V4.0 (Rev. 878)

3)   IRIX64 6.5 07151432 IP27
     MIPSpro Compilers: Version 7.2.1

4)   Linux 2.2.16 #31 SMP Thu Jun 29 14:51:26 CDT 2000 i686
     gcc version 2.95.2 19991024 (release)

On all of the above systems, math.exp(-999) returns 0.0, math.sqrt(-1)
raises an exception, and test_math.py completes successfully.

Testing-ly (not to be confused with testily) yr's,
		cgw