[New-bugs-announce] [issue30752] Basic subtraction is wrong ( 1.83 - 1.52 == 0.31000000000000005)

René Podlogar report at bugs.python.org
Sun Jun 25 05:14:37 EDT 2017


New submission from René Podlogar:

My Python-Installations Python 2.7.12, Python 3.4.5 @linux64
and the CLI on the python.org-Website (interactive shell) affected:

Python 3.6.0 (default, Jan 13 2017, 00:00:00) 
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 1.83 - 1.52
0.31000000000000005
>>> 

Expected= 0.31

Verified in irc-channel #python.de

----------
messages: 296817
nosy: René Podlogar
priority: normal
severity: normal
status: open
title: Basic subtraction is wrong ( 1.83 - 1.52 == 0.31000000000000005)
versions: Python 2.7, Python 3.7

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


More information about the New-bugs-announce mailing list