Issue 23413: Incorrect division result (original) (raw)

Issue23413

Created on 2015-02-08 19:13 by mbrijun@gmail.com, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg235564 - (view) Author: Martynas Brijunas (mbrijun@gmail.com) Date: 2015-02-08 19:13
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.
msg235565 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2015-02-08 19:15
https://docs.python.org/3/tutorial/floatingpoint.html
History
Date User Action Args
2022-04-11 14:58:12 admin set github: 67601
2015-02-08 19:15:57 benjamin.peterson set status: open -> closednosy: + benjamin.petersonmessages: + resolution: not a bug
2015-02-08 19:13:12 mbrijun@gmail.com create