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 Michał Jan Warecki
Recipients Michał Jan Warecki, ned.deily, ronaldoussoren
Date 2015-10-11.22:41:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444603260.51.0.439677989725.issue25378@psf.upfronthosting.co.za>
In-reply-to
Content
This should speak for itself:

>>> 3*4.35
13.049999999999999
>>> 

The error is reproducible, and applies to all decimal numbers ending with \.[0-9]5, and \.[0-4] as well as \.[6-9], when multiplied by 3. Examples:

>>> 3*4.1
12.299999999999999
>>> 3*4.4
13.200000000000001
>>> 3*4.6
13.799999999999999
>>> 3*4.8
14.399999999999999
>>> 3*4.9
14.700000000000001
>>> 4*3.1
12.4
>>> 4*4.1
16.4
>>> 3*4.1
12.299999999999999
>>> 6*4.1
24.599999999999998
>>> 6*4.4
26.400000000000002
>>>
History
Date User Action Args
2015-10-11 22:41:00Michał Jan Wareckisetrecipients: + Michał Jan Warecki, ronaldoussoren, ned.deily
2015-10-11 22:41:00Michał Jan Wareckisetmessageid: <1444603260.51.0.439677989725.issue25378@psf.upfronthosting.co.za>
2015-10-11 22:41:00Michał Jan Wareckilinkissue25378 messages
2015-10-11 22:41:00Michał Jan Wareckicreate