[issue42890] bug float to int

Christian Heimes report at bugs.python.org
Mon Jan 11 07:09:08 EST 2021


Christian Heimes <lists at cheimes.de> added the comment:

Rounding errors are to be expected. Python uses IEEE-754 double precision floats. See https://docs.python.org/3/tutorial/floatingpoint.html

----------
nosy: +christian.heimes
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type:  -> behavior

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


More information about the Python-bugs-list mailing list