Emanuel Barry added the comment:

This is due to how floating point numbers are handled under the hood. See 
http://effbot.org/pyfaq/why-are-floating-point-calculations-so-inaccurate.htm 
and https://docs.python.org/3/tutorial/floatingpoint.html for some useful read 
about why Python behaves like this regarding floating point numbers. Both these 
link state that this isn't a bug in Python, rightly so as it isn't.

----------
nosy: +ebarry
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26291>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to