The arithmetic operators perform standrad arithmetical operations on signed values.

Operator | Syntax | Description
+ | expression1 + expression2 | Add expression1 to expression2
- | expression1 - expression2 | Subtract expression2 from expression1
* | expression1 * expression2 | Multiply expression1 by expression2
/ | expression1 / expression2 | The integer quotient of expression1 divided by expression2
% | expression1 % expression2 | The integer remainder of expression1 divided by expression2
SHL << | expression1 SHL expression2 expression1 << expression2 | Shift expression1 left by expression2 bits.
SHR >> | expression1 SHR expression2 expression1 >> expression2 | Shift expression1 right by expression2 bits with zero fill. (This is commonly called a logical shift).
ASHR | expression1 ASHR expression2 | Shift expression1 right by expression2 bits with sign fill. (This is commonly called an arithmetic shift).