in reply to can't Understand output
Because 0.01 cannot be exactly represented as a finite sum of powers of two, just as 1/3 cannot be exactly represented as the finite sum of powers of ten. Floating point numbers cannot represent all rational, let alone all real, numbers in a given range.
|
|---|