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

True correct behavior would have that if a > b, then a + c > b + c also holds true for all integers, but that isn't guaranteed for wrapping (or clamping.) (e.g. if 250 > 1, then 250 + 10 > 1 + 10 should be true, but with 8-bit wrapping you would get 4 > 11, which is false.)


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

Search: