Message144593
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. |
|
Date |
User |
Action |
Args |
2011-09-29 15:25:32 | ArneBab | set | recipients:
+ ArneBab, mark.dickinson, r.david.murray |
2011-09-29 15:25:32 | ArneBab | set | messageid: <1317309932.3.0.514429978926.issue13060@psf.upfronthosting.co.za> |
2011-09-29 15:25:31 | ArneBab | link | issue13060 messages |
2011-09-29 15:25:31 | ArneBab | create | |
|