This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author larry
Recipients larry, lemburg, mark.dickinson, rhettinger, serhiy.storchaka, stutzbach, vstinner, vxgmichel
Date 2020-02-09.14:55:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581260102.74.0.348471427723.issue39484@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2020-02-09 14:55:02larrysetrecipients: + larry, lemburg, rhettinger, mark.dickinson, vstinner, stutzbach, serhiy.storchaka, vxgmichel
2020-02-09 14:55:02larrysetmessageid: <1581260102.74.0.348471427723.issue39484@roundup.psfhosted.org>
2020-02-09 14:55:02larrylinkissue39484 messages
2020-02-09 14:55:02larrycreate