Hi yp,
an additional explanation is found in the definition of IEEE754 float format.
Adding 0.1 repeatedly will not give expected results as that value cannot be represented by float values precisely!
Hi yp,
an additional explanation is found in the definition of IEEE754 float format.
Adding 0.1 repeatedly will not give expected results as that value cannot be represented by float values precisely!