Message80876
> result is 2.55 and not 2.54. If python doesn't deliver "2.55" as the
> result of it's rounding algorithm then it's doing it wrong. And if
Sorry, but that's just not true. I suggest that you (a) read the
section on floating-point[1] in the Python tutorial, and/or (b) ask
about this on comp.lang.python if you feel inclined---there are plenty
of people there who would be glad to explain what's going on here.
[1] http://docs.python.org/tutorial/floatingpoint.html |
|
Date |
User |
Action |
Args |
2009-01-31 16:05:48 | mark.dickinson | set | recipients:
+ mark.dickinson, Ultrasick |
2009-01-31 16:05:48 | mark.dickinson | set | messageid: <1233417948.1.0.884757342993.issue5118@psf.upfronthosting.co.za> |
2009-01-31 16:05:46 | mark.dickinson | link | issue5118 messages |
2009-01-31 16:05:46 | mark.dickinson | create | |
|