Hacker News new | ask | show | jobs
by akrasuski1 2941 days ago
It's done so that the bits will compare the same way whether treated as float or int. (modulo NaNs and stuff)
1 comments

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).

Would have been nice if IEEE stored the complement sign.