3 ms·
You cannot represent an arbitrary or fixed precision decimal number in a floating point format. Or to put it in another way: "Most decimal fractions cannot be
by haspok 2y ago
You cannot represent an arbitrary or fixed precision decimal number in a floating point format. Or to put it in another way:
"Most decimal fractions cannot be represented exactly as binary fractions." - from the Python tutorial
The word "decimal" does not simply mean "a number that consists of a whole and a fractional part".