Re:Tell HN: C Experts Panel – Ask us anything about C
by whelming_wave on Wednesday April 15, 2020 @12:05AM
(#22874384)
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.
[ Parent
| on HN ]
There are no comments on this comment yet.