11 hours ago
As I understand this code is non-compliant:
I wonder if some exception would be acceptable such as:
modulo and bitand operations are compliant when both operands are unsigned. the result shall be considered to be unsigned.
That would make such code compliant:
Code:
u8a % u8bI wonder if some exception would be acceptable such as:
modulo and bitand operations are compliant when both operands are unsigned. the result shall be considered to be unsigned.
That would make such code compliant:
Code:
if ((u8a % u8b) == 0U)
