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

It's not. And you're right, the spec isn't clear. On the other hand, the current behavior of pretending the bits are arranged in 32-bit two's-complement fashion for appropriate integer values when applying bitwise operators is really the only sensible interpretation (especially since a 64-bit float can represent all 32-bit ints).


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

Search: