[New-bugs-announce] [issue11482] Float Plus Error

Lu Feng report at bugs.python.org
Sun Mar 13 11:04:34 CET 2011


New submission from Lu Feng <lufengxa at gmail.com>:

Run 1.1 + 3.2, result is 4.300000000000001
And when Run [x * 0.1 for x in range(0, 10)], the result is
[0.0, 0.1, 0.2, 0.30000000000000004, 0.4, 0.5, 0.6000000000000001, 0.7000000000000001, 0.8, 0.9]

----------
messages: 130734
nosy: lufengxa at gmail.com
priority: normal
severity: normal
status: open
title: Float Plus Error
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.2

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


More information about the New-bugs-announce mailing list