[New-bugs-announce] [issue31435] Addition giving incorrect result in certain circumstances

Aodhán Collins report at bugs.python.org
Tue Sep 12 15:56:01 EDT 2017


New submission from Aodhán Collins:

Basic addition is dropping a tiny fraction when adding together certain numbers. We have discovered that when adding together the numbers 8.95 and 0.95 we get an incorrect answer, that is off by a tiny fraction. This doesn't occur when adding 7.95 and 0.95 but occurs for 8.95 and above. We have attached a file showing our calculations failing on Python 2.7 (on both a Mac and Linux system) and 3.5 (on a Linux system).

----------
components: Interpreter Core
files: pythonbug.txt
messages: 301991
nosy: Aodhán Collins
priority: normal
severity: normal
status: open
title: Addition giving incorrect result in certain circumstances
type: behavior
versions: Python 3.5
Added file: https://bugs.python.org/file47136/pythonbug.txt

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31435>
_______________________________________


More information about the New-bugs-announce mailing list