Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
immibis
8 months ago
|
parent
|
context
|
favorite
| on:
Posit floating point numbers: thin triangles and o...
So do floats if you don't care about NaN
tomsmeding
8 months ago
[–]
They do not; if you sort as unsigned ints then negative floats sort above positive ones, and if you sort as signed ints then the negative range is reversed. IEEE floats are sign-magnitude, not twos-complement.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: