Why does this Java float addition example behave like the mantissa is 24 bits long?
Intro: With Java floats, I noticed that when you add 1.0 to a certain range of tiny negative numbers, it equals 1.0. I decided to investigate this and learned a lot about how floats work in my quest to understand. But I ran into a weird wall. I’ve found that the bit representations of floats […]