...
The C definition of the %
operator implies the following behavior:
Code Block |
---|
1711 % 35 -> 21 1711 % -35 -> 21 -1711 % 35 -> -21 -1711 % -35 -> -21 |
The result has the same sign as the dividend (the first operand in the expression).
...
...
The C definition of the %
operator implies the following behavior:
Code Block |
---|
1711 % 35 -> 21 1711 % -35 -> 21 -1711 % 35 -> -21 -1711 % -35 -> -21 |
The result has the same sign as the dividend (the first operand in the expression).
...