This shows you the differences between two versions of the page.
en:orderofoperators [2016/08/09 18:33] admin created |
en:orderofoperators [2020/02/28 10:46] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | === Order of Operations === | ||
- | |||
- | Operators are evaluated according to a strict set of rules. | ||
- | |||
- | ^Order of Operations^^^ | ||
- | ^Level^Operators^Category/ | ||
- | |1|( )|Grouping| | ||
- | |2|%%^%%|Exponent| | ||
- | |3|- ~|Unary Minus and Bitwise Negation (NOT)| | ||
- | |4|* / \|Multiplication, | ||
- | |5|%|Integer Remainder (Mod)| | ||
- | |6|+ - ; | ||
- | |7|& %%|%%|Bitwise And and Bitwise Or| | ||
- | |8|< <= > >= = <> | ||
- | |9|NOT|Not| | ||
- | |10|AND|Logical And| | ||
- | |11|OR|Logical Or| | ||
- | |12|XOR|Logical Exclusive Or| | ||
- | |||