3 ms·
> C/C++ (the standard) makes no claims about what happens if you overflow integers. It makes no claims on what happens when you overflow signed integers. Unsi
by Kamq 3y ago
> C/C++ (the standard) makes no claims about what happens if you overflow integers.
It makes no claims on what happens when you overflow signed integers.
Unsigned integer wrapping is specified by section 6.2.5, paragraph 9 of the C standard.