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.

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:51mark.dickinsonsetrecipients: + mark.dickinson, eric.smith, skrah
2010-01-04 22:14:51mark.dickinsonsetmessageid: <1262643291.27.0.817130014862.issue7632@psf.upfronthosting.co.za>
2010-01-04 22:14:49mark.dickinsonlinkissue7632 messages
2010-01-04 22:14:49mark.dickinsoncreate