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

Nah, unsigned ints are magical. Why check

   (i < 0) || (i > n)
when you can just simplify it to

   (i > n)
after verifying that n < max_uint?



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

Search: