Hacker News new | past | comments | ask | show | jobs | submit login

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: