3 ms·
> However, if a program has signed overflow, it's likely a bug anyway. There are programs that check for overflow after the fact. Is that a bug?
by loup-vaillant 8y ago
> However, if a program has signed overflow, it's likely a bug anyway.
There are programs that check for overflow after the fact. Is that a bug?
- sanxiyn 8y agoNo, 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.