[issue28345] 8/3 is calculated incorrectly

Benjamin Peterson report at bugs.python.org
Mon Oct 3 02:23:30 EDT 2016


Benjamin Peterson added the comment:

Please see https://docs.python.org/3/tutorial/floatingpoint.html

Python 3.5.2 (default, Sep 10 2016, 08:21:44) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 2.6666666666666667 == 2.6666666666666665
True

----------
nosy: +benjamin.peterson
resolution:  -> not a bug
status: open -> closed

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


More information about the Python-bugs-list mailing list