Commit 0ee36f2
authored
Update README with unary minus clarification
Clarified explanation of unary minus application in expressions with negative numbers and adjusted example outputs.
Priority from higher to lower:
() : braces
** : exponentiation
+x, -x : unary plus & minus
*, /, //, % : multiplication, division, floor division, remainder)
+, - : plus & minus1 parent f4e6c52 commit 0ee36f2
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | | - | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
0 commit comments