[issue24662] While condition not satisfied embarrassingly

Ezio Melotti report at bugs.python.org
Sat Jul 18 17:34:09 CEST 2015


Ezio Melotti added the comment:

This is expected:
>>> .1+.1+.1+.1+.1+.1+.1+.1+.1+.1
0.9999999999999999

See https://docs.python.org/3/tutorial/floatingpoint.html for further info.

----------
nosy: +ezio.melotti
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24662>
_______________________________________


More information about the Python-bugs-list mailing list