Ned Deily added the comment: What you are seeing is due to the limitations of binary floating-point arithmetic. The issue is described in more detail in the Python tutorial:
https://docs.python.org/2/tutorial/floatingpoint.html#tut-fp-issues ---------- nosy: +ned.deily resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22134> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com