[issue1640] Enhancements for mathmodule

Christian Heimes report at bugs.python.org
Mon Jan 21 17:56:36 CET 2008


Christian Heimes added the comment:

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

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1640>
__________________________________


More information about the Python-bugs-list mailing list