List of Operators
Operator | Description |
---|---|
a + b | a plus b |
a - b | a minus b |
a * b | a multiplied by b |
a / b | a divided by b |
a % b | a modulo b |
a ** b a ** b | a to the power of b |
Bitwise Operators
Operators | Number of operands | Description |
& | 2 | bitwise and |
| | 2 | bitwise or |
^ | 2 | bitwise xor |
~ | 1 | bitwise negation |
^~ or ~^ | 2 | bitwise xnor |