3 ms·
>And of course, 0 is represented in floating-point with all the bits set to 0. +0 that is, -0 has the MSB set. That's one of the potential annoyances of IEEE f
by simias 6y ago
>And of course, 0 is represented in floating-point with all the bits set to 0.
+0 that is, -0 has the MSB set. That's one of the potential annoyances of IEEE floats, unlike two's complement integers there are two zeroes.