[issue39484] time_ns() and time() cannot be compared on windows

Larry Hastings report at bugs.python.org
Sun Feb 9 09:55:02 EST 2020


Larry Hastings <larry at hastings.org> added the comment:

Yes, but you get the first 1 bit for free.  So it actually only uses 30 bits of storage inside the double.

This is apparently called "leading bit convention":

https://en.wikipedia.org/wiki/IEEE_754#Representation_and_encoding_in_memory

----------

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


More information about the Python-bugs-list mailing list