[New-bugs-announce] [issue1565] round(x, y) doesn't behave as expected, round error

Shlomo Anglister report at bugs.python.org
Fri Dec 7 10:30:33 CET 2007


New submission from Shlomo Anglister:

#Round is unexpectedly wrong
>>> z = complex(1,1)
>>> s=abs(z)
>>> round(s,2)
1.4099999999999999

----------
components: Interpreter Core
messages: 58266
nosy: shlomoa
severity: normal
status: open
title: round(x,y) doesn't behave as expected, round error
versions: Python 2.5

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1565>
__________________________________


More information about the New-bugs-announce mailing list