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

It works regardless of signed/unsigned type, because signed ints still wrap at UINT_MAX (and not at INT_MAX).


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

Search: