Operator Precedence
Combined precedence order
In the previous sections we have introduced unary and binary operators for several types of expressions, together with their relative precedence order. this table provides an overview of all of them. The last column lists the expression types in which the operator is used, where the letters “N”, “L”, “E”, and “S” stand for Numerical, Logical, set Element and Set expressions, respectively.
Precedence |
Name |
Type |
---|---|---|
14 |
|
N |
13 |
|
N |
12 |
|
N |
11 |
|
N,S |
10 |
|
N,E,S |
9 |
|
S |
8 |
|
L |
7 |
|
L |
6 |
|
L |
5 |
|
L |
4 |
|
L |
3 |
|
L |
2 |
|
S |
1 |
|
N |