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.
In reply to Re: can't Understand output
by swampyankee
in thread can't Understand output
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |