Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dvt
on Sept 8, 2021
|
parent
|
context
|
favorite
| on:
Bit Patterns of Float
I think casting a NaN to an int will always just return gibberish, signed or not. In fact, this is explicitly undefined behavior in C.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: