You are viewing a single comment's thread. Return to all comments →
Floats lose precision because of the way they are stored. Essentially, it is stored as a fraction instead of explicitly; Wikipedia's article offers very good explanation: https://en.wikipedia.org/wiki/Double-precision_floating-point_format.
Seems like cookies are disabled on this browser, please enable them to open this website
Python: Division
You are viewing a single comment's thread. Return to all comments →
Floats lose precision because of the way they are stored. Essentially, it is stored as a fraction instead of explicitly; Wikipedia's article offers very good explanation: https://en.wikipedia.org/wiki/Double-precision_floating-point_format.