Issue 32619: multiplication error - Python tracker (original) (raw)
Created on 2018-01-22 09:29 by mukhit, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg310406 - (view) | Author: Mukhit (mukhit) | Date: 2018-01-22 09:29 |
print (10*3.14) 31.400000000000002 | ||
msg310414 - (view) | Author: Steven D'Aprano (steven.daprano) * ![]() |
Date: 2018-01-22 10:36 |
This is not a bug, it is a FAQ to do with the properties of binary floating point numbers. https://docs.python.org/3/faq/design.html#why-are-floating-point-calculations-so-inaccurate |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:56 | admin | set | github: 76800 |
2018-01-22 10:36:53 | steven.daprano | set | status: open -> closednosy: + steven.dapranomessages: + resolution: not a bugstage: resolved |
2018-01-22 09:29:42 | mukhit | create |