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

Right, the tilde operator is supported, but the math trick in question only works on a twos-complement machine. So it's non-portable in the sense that the language spec doesn't guarantee a particular behavior.



Yup. If it wasn't clear, my comment above was a joke :-P




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

Search: