Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

NaNs aren't always equal to each other in their bit representation either, most of the bits are kept as a "payload" which is not defined in the spec it can be anything. I believe the payload is actually used in V8 to encode more information in NaNs (NaN-boxing).


You’ve opened a rabbit hole for me




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: