[New-bugs-announce] [issue26291] Floating-point arithmetic

good.bad report at bugs.python.org
Thu Feb 4 21:54:53 EST 2016


New submission from good.bad:

print(1 - 0.8)
0.19999999999999996
print(1 - 0.2)
0.8

why not 0.2?

----------
messages: 259622
nosy: goodbad
priority: normal
severity: normal
status: open
title: Floating-point arithmetic
versions: Python 3.5

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


More information about the New-bugs-announce mailing list