Message97226
| Author |
mark.dickinson |
| Recipients |
eric.smith, mark.dickinson, skrah |
| Date |
2010年01月04日.22:14:49 |
| SpamBayes Score |
0.00012877755 |
| Marked as misclassified |
No |
| Message-id |
<1262643291.27.0.817130014862.issue7632@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The bug is present in the current version of dtoa.c from http://www.netlib.org/fp, so I'll report it upstream. As far as I can tell, though, it's benign, in the sense that if the check is disabled then nothing bad happens, and the correct result is eventually returned (albeit after some unnecessary computation).
I suspect that the problem is in the if block around lines 1531--1543 of Python/dtoa.c: a subnormal rv isn't being handled correctly here---it should end up being set to 0.0, but is instead set to 2**-968. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年01月04日 22:14:51 | mark.dickinson | set | recipients:
+ mark.dickinson, eric.smith, skrah |
| 2010年01月04日 22:14:51 | mark.dickinson | set | messageid: <1262643291.27.0.817130014862.issue7632@psf.upfronthosting.co.za> |
| 2010年01月04日 22:14:49 | mark.dickinson | link | issue7632 messages |
| 2010年01月04日 22:14:49 | mark.dickinson | create |
|