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

It lets you check that a+b > a for unknown unsigned b or signed b known > 0, to make sure addition didn’t overflow. I’m rather certain all modern C compilers will optimize that check out.


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

Search: