Message 61414 - Python tracker

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.

Content
Mark Dickinson wrote:
> Mark Dickinson added the comment:
> 
> Christian: would it be possible for you to tell me what the argument of the 
> log1p call is on Windows in that last branch of c_atanh, for the testcase 
> atanh0022.
> 
> On OS X I get:
> 
> Input to log1p is 3.2451855365842669075e+32
> 
> It's hard to imagine that there's anything wrong with log1p here, since all 
> it does for a large input like this is compute log(1+x).

You got me wrong (and I didn't explain it properly). All complex
functions pass the test. math.atanh() fails. I think my implementation
of Python/pymath.c:atanh() doesn't return the right value for arguments
almost 1.0.

Christian