Author MrJean1
Recipients MrJean1, mark.dickinson
Date 2008-06-22.23:01:25
SpamBayes Score 9.75316e-06
Marked as misclassified No
Message-id <1214175686.57.0.346190279264.issue3167@psf.upfronthosting.co.za>
In-reply-to
Content
Here is that in from 32- and 64-bit Python 2.6b1:

> ./python (32-bit)
Python 2.6b1 (r26b1:64398, Jun 20 2008, 09:20:49) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import math
>>> math.log(float('-inf'))
-inf
>>> math.log(float('inf'))
inf
>>> math.log(float('nan'))
nan

> ./python (64-bit)                  
Python 2.6b1 (r26b1:64398, Jun 19 2008, 20:27:39) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import math
>>> math.log(float('-inf'))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: math domain error
>>> math.log(float('inf'))         
inf
>>> math.log(float('nan'))
nan

Look like a Sun issue, doesn't it?
History
Date User Action Args
2008-06-22 23:01:27MrJean1setspambayes_score: 9.75316e-06 -> 9.75316e-06
recipients: + MrJean1, mark.dickinson
2008-06-22 23:01:26MrJean1setspambayes_score: 9.75316e-06 -> 9.75316e-06
messageid: <1214175686.57.0.346190279264.issue3167@psf.upfronthosting.co.za>
2008-06-22 23:01:26MrJean1linkissue3167 messages
2008-06-22 23:01:25MrJean1create