Skip to content

Commit af90dac

Browse files
emmtvtjnash
andauthored
Add unary negation in table of operator precedence and associativity (#49438)
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
1 parent b8540d1 commit af90dac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/manual/mathematical-operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ Julia applies the following order and associativity of operations, from highest
394394
|:-------------- |:------------------------------------------------------------------------------------------------- |:-------------------------- |
395395
| Syntax | `.` followed by `::` | Left |
396396
| Exponentiation | `^` | Right |
397-
| Unary | `+ - ` | Right[^1] |
397+
| Unary | `+ - ! ~ ¬ √ ∛ ∜ ⋆ ± ∓ <: >:` | Right[^1] |
398398
| Bitshifts | `<< >> >>>` | Left |
399399
| Fractions | `//` | Left |
400400
| Multiplication | `* / % & \ ÷` | Left[^2] |

0 commit comments

Comments
 (0)