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 videogames4all
Recipients videogames4all
Date 2015-09-01.06:49:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441090182.8.0.683864424738.issue24976@psf.upfronthosting.co.za>
In-reply-to
Content
I just recently discovered this bug, but when adding or subtracting a number and a precision error occurs when using at least 1 floating-point number in the operation. For example, 1 - 0.98 should output 0.02, but instead outputs 0..020000000000000018 (at least on my machine).

Included is a simple script showing what happens, just when incrementing or decrementing by 0.01 from 0 to 1.

I am running Python 3.4.3 on a 64-bit Arch Linux machine.
History
Date User Action Args
2015-09-01 06:49:42videogames4allsetrecipients: + videogames4all
2015-09-01 06:49:42videogames4allsetmessageid: <1441090182.8.0.683864424738.issue24976@psf.upfronthosting.co.za>
2015-09-01 06:49:42videogames4alllinkissue24976 messages
2015-09-01 06:49:42videogames4allcreate