[issue25129] suboptimal floating-point floor division

STINNER Victor report at bugs.python.org
Tue Sep 15 22:07:45 CEST 2015


STINNER Victor added the comment:

IEEE 754 uses the ROUND_HALF_EVEN rounding mode by default:
https://en.wikipedia.org/wiki/Rounding#Round_half_to_even

That's why round() uses the same rounding mode. I discovered recently while working on the datetime module :-) (issue #23517)

----------
nosy: +haypo

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


More information about the Python-bugs-list mailing list