The conversion is defined in terms of mathematical addition or subtraction operations on the value of the expression, but these do not imply that C addition or subtraction operations actually occur, as clarified by footnote 60 (C11) and footnote 51 (C24), whereas this Rule is understood only to apply to operations resulting from the C expression language.
In this example, the ~ operator results in extension, which is not a wraparound.
Therefore this Rule does not apply.
In this example, the ~ operator results in extension, which is not a wraparound.
Therefore this Rule does not apply.
Posted by and on behalf of the MISRA C Working Group