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 eric.smith
Recipients M1kE, eric.smith
Date 2021-12-02.16:43:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1638463384.91.0.269779979368.issue45966@roundup.psfhosted.org>
In-reply-to
Content
This isn't a bug, it's a function of the IEEE-754 double precision floating point type that python uses. See: https://docs.python.org/3/tutorial/floatingpoint.html

You might want to consider the decimal module, although that will also have limitations.
History
Date User Action Args
2021-12-02 16:43:04eric.smithsetrecipients: + eric.smith, M1kE
2021-12-02 16:43:04eric.smithsetmessageid: <1638463384.91.0.269779979368.issue45966@roundup.psfhosted.org>
2021-12-02 16:43:04eric.smithlinkissue45966 messages
2021-12-02 16:43:04eric.smithcreate