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 ArneBab
Recipients ArneBab, mark.dickinson, r.david.murray
Date 2011-09-29.15:25:31
SpamBayes Score 3.891735e-07
Marked as misclassified No
Message-id <1317309932.3.0.514429978926.issue13060@psf.upfronthosting.co.za>
In-reply-to
Content
If the C accelerator for decimal gets decimal performance close to floats (which I doubt, because it has to do much more), it could be very useful for me. What is its estimated time to completion?

Even when it is finished, it does not change the problem that round(0.5, 0) gives mathematically wrong results, so python requires hacks to be correct in this very simple case - instead of being right for most of the simple cases and only get it wrong in corner cases.

My hack isn’t really clean, though, because it depends on the internal representation of floats in the hardware. A real fix would have to get the real size of floats and adjust the added value accordingly.
History
Date User Action Args
2011-09-29 15:25:32ArneBabsetrecipients: + ArneBab, mark.dickinson, r.david.murray
2011-09-29 15:25:32ArneBabsetmessageid: <1317309932.3.0.514429978926.issue13060@psf.upfronthosting.co.za>
2011-09-29 15:25:31ArneBablinkissue13060 messages
2011-09-29 15:25:31ArneBabcreate