Re:Integers in C quiz
by codeflo on Sunday September 04, 2022 @12:44PM
(#32714920)
That’s true, I’d add something more. Your reasoning about hardware differences would only justify implementation-defined behavior, not undefined behavior. The distinction is important here: undefined behavior is when the compiler can make surprising optimizations in other parts of the code assuming something doesn’t happen.
[ Parent
| on HN ]