Author mark.dickinson
Recipients Rhamphoryncus, christian.heimes, gmcastil, mark.dickinson, tim.peters
Date 2008-01-22.02:10:28
SpamBayes Score 0.0146226
Marked as misclassified No
Message-id <1200967830.3.0.445190926477.issue1640@psf.upfronthosting.co.za>
In-reply-to
Content
Hmmm.

For atanh(1):  raising OverflowError is actually consistent with what currently happens.  
The only singularity that's already present in math is log(0), and it seems that that 
raises OverflowError on OS X, Linux and Windows...  I wonder whether this is what Tim 
meant to say?

For acosh(0):  you're right, and I'm wrong---this should definitely return a NaN and set 
errno.  I guess that dividing 0 by 0 doesn't set errno on Windows.  Okay: let's set it 
directly there.

I do still think that asinh(nan), atanh(nan) and acosh(nan) should return nan and not 
raise any exceptions, just for the sake of consistency with Linux/OS X and with the other 
libm functions.

I guess I don't really care about asinh(+/-inf), etc:  an infinite return value will be 
caught by the stuff in math_1 anyway.
History
Date User Action Args
2008-01-22 02:10:30mark.dickinsonsetspambayes_score: 0.0146226 -> 0.0146226
recipients: + mark.dickinson, tim.peters, Rhamphoryncus, christian.heimes, gmcastil
2008-01-22 02:10:30mark.dickinsonsetspambayes_score: 0.0146226 -> 0.0146226
messageid: <1200967830.3.0.445190926477.issue1640@psf.upfronthosting.co.za>
2008-01-22 02:10:29mark.dickinsonlinkissue1640 messages
2008-01-22 02:10:28mark.dickinsoncreate