[issue20533] bug in float arithmetic?

2014-02-06 Thread Zachary Ware
Zachary Ware added the comment: Hi Rihards, This is not a bug, this is an example of the limitations of binary floating point arithmetic. See http://docs.python.org/3/tutorial/floatingpoint.html for more information. For explanation by demonstration, have a look at this: Python 3.3.2 (v3.3.

[issue20533] bug?

2014-02-06 Thread Rihards
New submission from Rihards: Python 3.3.3 (v3.3.3:c3896275c0f6, Nov 18 2013, 21:19:30) [MSC v.1600 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. >>> 11.29-6.29 4.999 >>> 11.30-6.30 5.001 >>> -- messages: 210412 nosy: Ri