[issue43903] round() produces incorrect results with certain values

Serhiy Storchaka report at bugs.python.org
Wed Apr 21 05:34:11 EDT 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

It is correct because it works as documented. Please read the documentation carefully.

It was intentional change in Python 3. See https://docs.python.org/3/whatsnew/3.0.html#builtins.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43903>
_______________________________________


More information about the Python-bugs-list mailing list