[issue16460] Strange results for floor division ("//") with non-integer divisors

Tom Pohl report at bugs.python.org
Mon Nov 12 15:04:41 CET 2012


Tom Pohl added the comment:

Martin:
Ok, just as you suggested, I did the calculations on a sheet of paper:

floor(1 mathematically-divided-by 0.1) = floor(10) = 10

qed ;-)

----------

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


More information about the Python-bugs-list mailing list