Re:Signed Integers Are Two’s Complement
by akrasuski1 on Thursday May 31, 2018 @12:36AM
(#17193989)
It's done so that the bits will compare the same way whether treated as float or int. (modulo NaNs and stuff)
[ Parent
| on HN ]
That is only true for non-negative floating point numbers. It's still useful though.
Interestingly, posits as originally proposed do have this property (except for infinity).