[issue8860] Rounding in timedelta constructor is inconsistent with that in timedelta arithmetics
Alexander Belopolsky
report at bugs.python.org
Tue Jun 1 05:38:57 CEST 2010
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
Mark> (2) seems like overkill to me.
I agree, however it would be interesting to figure out when accumulated errors can produce an inaccurate result. ISTM that leftover is the sum of up to 7 doubles each between 0 and 1 which is then rounded to the nearest integer. I don't see how accumulated error can exceed 1 and affect the result.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8860>
_______________________________________
More information about the Python-bugs-list
mailing list