Message86117
I take that back. The 2.7 round still has some problems.
Here's one example:
>>> x = 5e15 + 1 # exactly representable as an IEEE 754 double
>>> x
5000000000000001.0
>>> round(x)
5000000000000002.0
Another nit:
>>> round(-0.0, 0) # should retain the sign of zero
0.0
Reopening. |
|
Date |
User |
Action |
Args |
2009-04-18 12:27:25 | mark.dickinson | set | recipients:
+ mark.dickinson, gboutsioukis |
2009-04-18 12:27:25 | mark.dickinson | set | messageid: <1240057645.41.0.0914364676248.issue1869@psf.upfronthosting.co.za> |
2009-04-18 12:27:24 | mark.dickinson | link | issue1869 messages |
2009-04-18 12:27:23 | mark.dickinson | create | |
|