Re:Signed Integers Are Two’s Complement
by berti on Thursday May 31, 2018 @06:58AM
(#17195395)
And that is how we get #if defined(_THIS_THING_SOME_COMPILER_DEFINES) && !defined(__BUT_NOT_THIS_ONE_THAT_COMPILER_X_DEFINES) soup ;)
[ Parent
| on HN ]
Re:Signed Integers Are Two’s Complement
by greenhouse_gas on Thursday May 31, 2018 @12:19PM
(#17197534)
Better than than silently ignoring an if guard preventing an overflow, and then overflowing anyways on addition.