5 ms·
Oh, I meant it is trivial to catch bugs caused by overflow by using a sanitizer and difficult to find bugs caused by wraparound. But checking for signed overfl
by uecker 2y ago
Oh, I meant it is trivial to catch bugs caused by overflow by using a sanitizer and difficult to find bugs caused by wraparound.
But checking for signed overflow is also simply with C23: https://godbolt.org/z/ebKejW9ao https://godbolt.org/z/ebKejW9ao