Y
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
nhaehnle
2941 days ago
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).
link
garmaine
2940 days ago
Would have been nice if IEEE stored the complement sign.
link
Interestingly, posits as originally proposed do have this property (except for infinity).