Signed arithmetic operations using the
/ and
% operators return undefined results unless both operands are positive.
Note:
The hardware implementation of the target's division instructions determines how a Compiler implements
/ and
% for negative operands.