[issue25129] suboptimal floating-point floor division

Tim Peters report at bugs.python.org
Tue Sep 15 22:09:16 CEST 2015


Tim Peters added the comment:

> What is the rounding mode used by true division,

For binary floats?  It inherits whatever the platform C's x/y double division uses.  Should be nearest/even on "almost all" platforms now, unless the user fiddles with their FPU's rounding flags.

----------

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


More information about the Python-bugs-list mailing list