-
Notifications
You must be signed in to change notification settings - Fork 2
Operator Precedence
Joachim Stolberg edited this page Apr 8, 2022
·
1 revision
The operator priority in Cipol follows the table below, from lower to higher priority. Expressions with equal strength operators work from left to right:
Conditions:
or
and
< > != ==
Expressions:
& | ^
>> <<
+ -
* / mod
not - (unary) ~ (unary) * (unary) & (unary)
As usual, you can use parentheses to change the precedences of an expression or condition.