[Python-bugs-list] [Bug #125775] Calculations are wrong
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 14 Dec 2000 04:17:34 -0800
Bug #125775, was updated on 2000-Dec-14 04:17
Here is a current snapshot of the bug.
Project: Python
Category: Python Interpreter Core
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: nobody
Assigned to : nobody
Summary: Calculations are wrong
Details: Here are a two quite reprodusable bugs with Python 2.0:
>>> 8+6+7+1+0.45+1.5+0.5+2+2.25+2+1+0.5+1.45
33.650000000000006
>>> 8+7+1+0.45+1.5+0.5+2+2.25+2+1+0.5+1.45
27.649999999999999
What's that 0.000000000006? And the 0.many-zeros-1, where did it go?
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=125775&group_id=5470