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

It will wrap around both ways and correctly return 0. At least it does on my compiler, I never remember what is part of standard C and what is accident of implementation.

But it won't work for {2000000000, 2000000000}, as stated in the article.



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

Search: