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 Svabo
Recipients Svabo, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-07-10.13:43:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594388589.34.0.510717006355.issue41269@roundup.psfhosted.org>
In-reply-to
Content
I've started to learn python and tried command:
print(-2.989 + 2)
it gives me result of -0.9889999999999999
same error can be observed with numbers from 4 and below like:
print(-2.989 + 4)
1.0110000000000001

print(-2.989 + 3)
0.01100000000000012

print(-2.989 + 1)
-1.9889999999999999

Numbers above 4 seam to work fine
History
Date User Action Args
2020-07-10 13:43:09Svabosetrecipients: + Svabo, paul.moore, tim.golden, zach.ware, steve.dower
2020-07-10 13:43:09Svabosetmessageid: <1594388589.34.0.510717006355.issue41269@roundup.psfhosted.org>
2020-07-10 13:43:09Svabolinkissue41269 messages
2020-07-10 13:43:09Svabocreate