This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients Rhamphoryncus, christian.heimes, gmcastil, mark.dickinson, tim.peters
Date 2008-01-21.19:39:53
SpamBayes Score 0.041157287
Marked as misclassified No
Message-id <1200944398.27.0.876465371891.issue1640@psf.upfronthosting.co.za>
In-reply-to
Content
Also, for the C-level routines, atanh(1.0) and atanh(-1.0) should definitely return 
infinity and -infinity (and probably set errno as well.)

Note that this is not an argument about what Python should do:  Python will still raise a 
ValueError for atanh(1.0) and atanh(-1.0).  But the atanh is supposed to be a drop-in 
replacement for the libm atanh, on those platforms where it's missing.  And the C99 
standard is clear about return values, even though it's not useful when it comes to 
deciding whether to set errno or not.
History
Date User Action Args
2008-01-21 19:39:58mark.dickinsonsetspambayes_score: 0.0411573 -> 0.041157287
recipients: + mark.dickinson, tim.peters, Rhamphoryncus, christian.heimes, gmcastil
2008-01-21 19:39:58mark.dickinsonsetspambayes_score: 0.0411573 -> 0.0411573
messageid: <1200944398.27.0.876465371891.issue1640@psf.upfronthosting.co.za>
2008-01-21 19:39:53mark.dickinsonlinkissue1640 messages
2008-01-21 19:39:53mark.dickinsoncreate