[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: math.exp bug on alpha?



On Thu, Jan 10, 2002 at 05:25:43PM +0000, Luigi Ballabio wrote:
> 
> Greetings,
> 	on alpha debian, python 2.1.1-8:
> 
> >>> import math
> >>> math.exp(-720)
> 
> aborts the interpreter with a floating point exception. The strange thing 
> is, exp(-700) and exp(-750) both work.

Works for me, no aborts. (i386, python 2.1.1-8)
Python 2.1.1+ (#1, Jan  8 2002, 00:37:12) 
[GCC 2.95.4 20011006 (Debian prerelease)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import math
>>> math.exp(-720)
2.0322308024183599e-313
>>> math.exp(-700)
9.8596765437597708e-305
>>> math.exp(-750)
0.0
>>> 


Greetings, Bastian

Attachment: pgpddONumESwD.pgp
Description: PGP signature


Reply to: