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 <rep...@bugs.python.org>
<http://bugs.python.org/issue27094>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to