The arithmetic operators perform standard arithmetical operations on signed values.

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