What is Floating point imprecision?
These two expressions in python are suppose to produce the same result. But why don't they do that?
>>> 7 / 3 * 3
7.0
>>> 1 / 3 * 7 * 3
6.999999999999999
For further actions, you may consider blocking this person and/or reporting abuse
Alex Merced -
Miguel Ángel Durán 👨💻 -
Gabor Szabo -
Grant Riordan -
Top comments (0)