Message83539
Actually the negative n case *is* quite different from the positive n,
although I think it's fair to say that the issue 1869 title covers both
cases fairly well. :)
It's not at all hard to make sure that round(x, -n) correct for -22 <= -n
<= 0 and any finite x, using the fact that the remainder fmod(x, 10.0**-n)
is exactly representable as a float. I'll try to find time to implement
this before 3.1. Positive n is still tricky, though.
Anyway, I'm going to close this and fold the discussion into issue 1869.
Thanks for the report! |
|
Date |
User |
Action |
Args |
2009-03-13 22:37:53 | mark.dickinson | set | recipients:
+ mark.dickinson, dingo |
2009-03-13 22:37:53 | mark.dickinson | set | messageid: <1236983873.84.0.975510324977.issue5473@psf.upfronthosting.co.za> |
2009-03-13 22:37:29 | mark.dickinson | link | issue5473 messages |
2009-03-13 22:37:29 | mark.dickinson | create | |
|