The arithmetic operators are
+ addition - subtraction and unary minus sign * multiplication / integer division mod remainder of division << left shift >> right shiftAll results of arithmetic on integers are modulo , in the range . 1
The operators ``*'', ``/'' and ``mod'' obey the law
y * (x/y) + (x mod y) = x
The remainder is always positive.
The expression ``x « y'' is equivalent to ``x * ''. Similarly, ``x » y'' is equivalent to ``x / ''.