[issue39436] Strange behavior of comparing int and float numbers
Matthew Barnett
report at bugs.python.org
Thu Jan 23 13:42:48 EST 2020
Matthew Barnett <python at mrabarnett.plus.com> added the comment:
Python floats have 53 bits of precision, so ints larger than 2**53 will lose their lower bits (assumed to be 0) when converted.
----------
nosy: +mrabarnett
resolution: -> not a bug
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39436>
_______________________________________
More information about the Python-bugs-list
mailing list