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

I didn't believe this so I looked it up, and yup.

Because of 2's complement limitations, abs(INT_MIN) can't actually be represented and it ends up returning INT_MIN.



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

Search: