[issue5473] round(float, ndigits<0) sometimes rounds to odd

Christian Taylor report at bugs.python.org
Wed Mar 11 17:22:29 CET 2009


Christian Taylor <dingo at chello.at> added the comment:

I see what you mean. I originally thought that intermediate numbers not
being representable as floats was not the issue here, since for example
25.0/10.0 should give the exact result - despite issue 1869 clearly
mentioning the *multiplication* by powers of 10.

Thanks for clearing that up and sorry for the noise!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5473>
_______________________________________


More information about the Python-bugs-list mailing list