How Java’s Floating Point Hurts Everyone Everywhere
Consider the following Simple Code:
What could be the output??
Well, we know in simple maths 10.60 – 10.00 = .60;
But, why is the computation adding a small signed error to the result!!!. The computer floating point unit works internally in base 2, binary ie., the Representation of repeater fraction 1/3 = 0.33333 in base 10. [...]







