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 dingo, mark.dickinson
Date 2009-03-11.10:05:15
SpamBayes Score 8.304069e-06
Marked as misclassified No
Message-id <1236765917.97.0.960097811295.issue5473@psf.upfronthosting.co.za>
In-reply-to
Content
> (in this case a division by 10.0)

Of course, that's not true:  division by 10.0 is harmless when the
result is exactly representable.  It's actually a multiplication by
pow(10.0, -1), which is worse...

I'm currently working on incorporating David Gay's code for string <->
float conversions into Python.  If these go in, then it would be
straightforward to implement a fast, correctly-rounded round for floats
based on a combination of Gay's strtod and dtoa functions.
History
Date User Action Args
2009-03-11 10:05:18mark.dickinsonsetrecipients: + mark.dickinson, dingo
2009-03-11 10:05:17mark.dickinsonsetmessageid: <1236765917.97.0.960097811295.issue5473@psf.upfronthosting.co.za>
2009-03-11 10:05:16mark.dickinsonlinkissue5473 messages
2009-03-11 10:05:15mark.dickinsoncreate