3 ms·
You can tell a C compiler to trap or wrap around on overflow, or you use checked arithmetic to test explicitly for overflow.
by uecker 2y ago
You can tell a C compiler to trap or wrap around on overflow, or you use checked arithmetic to test explicitly for overflow.