Message61414
| Author |
christian.heimes |
| Recipients |
Rhamphoryncus, christian.heimes, gmcastil, gvanrossum, mark.dickinson, tim.peters |
| Date |
2008年01月21日.16:56:35 |
| SpamBayes Score |
0.0029383318 |
| Marked as misclassified |
No |
| Message-id |
<4794CEB7.2040502@cheimes.de> |
| In-reply-to |
<1200928287.73.0.152686192639.issue1640@psf.upfronthosting.co.za> |
| 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 |
|