Re:Signed Integers Are Two’s Complement
by sanxiyn on Thursday May 31, 2018 @10:12AM
(#17196425)
No, but since most overflows are bugs, I think the right solution is to standardize something like GCC's __builtin_add_overflow for overflow checks. Rust does this.
There are programs that check for overflow after the fact. Is that a bug?