[issue23413] Incorrect division result

Martynas Brijunas report at bugs.python.org
Sun Feb 8 20:13:12 CET 2015


New submission from Martynas Brijunas:

Dear Python team,

when dividing 3 by 7, I expect to get the following result:

0.428571428571428571428571428571428571428571428571428571428571...

What I am getting in the Python interpreter is this:

>>> 3 / 7
0.42857142857142855

Which in my opinion is incorrect.

----------
messages: 235564
nosy: Martynas.Brijunas
priority: normal
severity: normal
status: open
title: Incorrect division result
type: behavior
versions: Python 3.4

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


More information about the Python-bugs-list mailing list