Operators

Mathematical Operators

+Addition
Subtraction
*Multiplication
/Division
%Integer division
^power
<lesser
<=lesser or equal
>greater
>=greater or equal
<>not equal
=equal
( )parantheses
+, –unary
→, ←, &, |, ~bit-Operatores shift, and, or, complement

Hierarchy

The hierarchy of 0peratores from high to low:

  • ( )
  • unary + – and mathematical functions like sin, cos, log, …
  • → ← & | ~
  • ^
  • * / %
  • + –
  • < > <= >= <> =