Arithmetic operators » History » Version 5
Per Amundsen, 11/03/2020 06:20 AM
1 | 1 | Per Amundsen | h1. Arithmetic operators |
---|---|---|---|
2 | |||
3 | 4 | Paul Janson | | Addition |
4 | Subtraction |
||
5 | Multiplication |
||
6 | Division |
||
7 | Floor Divide |
||
8 | Modulo |
||
9 | 1 | Per Amundsen | Power |
10 | 4 | Paul Janson | Bitwise AND |
11 | 3 | Per Amundsen | | a + b |
12 | 2 | Per Amundsen | a - b |
13 | 1 | Per Amundsen | a * b |
14 | a / b |
||
15 | 4 | Paul Janson | a // b |
16 | 2 | Per Amundsen | a % b |
17 | 4 | Paul Janson | a ^ b |
18 | 2 | Per Amundsen | a & b |
19 | 1 | Per Amundsen | | |
20 | 4 | Paul Janson | |
21 | Note: // can be used in $calc but not /var. & can be used in /var but not $calc |
||
22 | 5 | Per Amundsen | |
23 | _See also [[/set]], [[/var]], [[$calc]], [[$calcint]]._ |