Message96497
| Author |
mark.dickinson |
| Recipients |
mark.dickinson, ned.deily, nirinA, rhettinger, steven.daprano, stutzbach, terry.reedy, tim.peters |
| Date |
2009年12月16日.20:40:34 |
| SpamBayes Score |
0.0002677405 |
| Marked as misclassified |
No |
| Message-id |
<1260996036.32.0.672014686165.issue3366@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I committed the patch for expm1 in r76861 (trunk) and r76863 (py3k), with
one small change: instead of using 2 * exp(x/2) * sinh(x/2), expm1 is now
computed using a method due to Kahan that involves only exp and log. This
seems a little safer, and guards against problems on platforms with a
naive implementation of sinh. (I *hope* no such platforms exist, but
suspect that's wishful thinking. :-)
Thanks to Eric Smith for testing the build system changes on Windows. |
|