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 Daniel_Python, eric.smith
Date 2019-09-04.11:12:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567595553.7.0.959745725013.issue38025@roundup.psfhosted.org>
In-reply-to
Content
When you convert the integer to a float (because of the 'f' in the first format spec), you're losing precision. See:

https://docs.python.org/3/tutorial/floatingpoint.html and https://docs.python.org/3/faq/design.html#why-are-floating-point-calculations-so-inaccurate
History
Date User Action Args
2019-09-04 11:12:33eric.smithsetrecipients: + eric.smith, Daniel_Python
2019-09-04 11:12:33eric.smithsetmessageid: <1567595553.7.0.959745725013.issue38025@roundup.psfhosted.org>
2019-09-04 11:12:33eric.smithlinkissue38025 messages
2019-09-04 11:12:33eric.smithcreate