You got 0.01 from the deduction. It is just in the form of a repeating decimal with a bit of precision lost.
Lua uses type C doubleto represent numbers. This is on almost every platform you will use, with a 64-bit binary floating-point value with approximately 23 decimal digits of precision. However, for an accuracy of 0.01, precision in the binary system is not accurate enough. The situation is similar to trying to write 1/3 in decimal form.
, , . .
. , , , (, ) . 100 .
, , , , - . .
:
- Lua Users Wiki
- IEEE, , , .
- Wiki IEEE.
- Wiki .
- - .
: WECSSKAFPA. , , , . Knuth Volume 2 . , lhf , Lua wiki , .