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

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: