[issue27094] Floating Point Printing Error with 2+.8553 or 3+.8553

Seth Norton report at bugs.python.org
Mon May 23 16:44:13 EDT 2016


New submission from Seth Norton:

In a basic command line interpreter, adding 2 or 3 to .8553 will cause the result to be displayed as if a rounding error occurred. The number is so small that I expect it is not a mathematical error but rather in how the number is printed.

The displayed answer is 2.8552999999999997.

This also occurs in python 2.7.4. I am running Ubuntu 14.04 (64-bit).

----------
components: Interpreter Core
messages: 266183
nosy: Seth Norton
priority: normal
severity: normal
status: open
title: Floating Point Printing Error with 2+.8553 or 3+.8553
type: behavior
versions: Python 3.4

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


More information about the Python-bugs-list mailing list