[issue25333] .1 + .2 == .3 should be True

Rodrigo Souto report at bugs.python.org
Wed Oct 7 08:58:52 EDT 2015


New submission from Rodrigo Souto:

print(.1 + .2 == .3)  should be True like the others

>>> print(.1 + .2 == .3)
False
>>> print(.1 + .3 == .4)
True
>>> print(.1 + .4 == .5)
True
>>> print(.1 + .1 == .2)
True

----------
messages: 252470
nosy: Rodrigo Souto
priority: normal
severity: normal
status: open
title: .1 + .2 == .3 should be True
type: behavior
versions: Python 3.4

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


More information about the Python-bugs-list mailing list