Message83463
> (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. |
|
Date |
User |
Action |
Args |
2009-03-11 10:05:18 | mark.dickinson | set | recipients:
+ mark.dickinson, dingo |
2009-03-11 10:05:17 | mark.dickinson | set | messageid: <1236765917.97.0.960097811295.issue5473@psf.upfronthosting.co.za> |
2009-03-11 10:05:16 | mark.dickinson | link | issue5473 messages |
2009-03-11 10:05:15 | mark.dickinson | create | |
|