Skip to content

Commit 7a74085

Browse files
committed
add extra note about missing bitshifts
1 parent 5ad8f1a commit 7a74085

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

website/docs/language/types.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Operators:
2727
- Comparisons: `<=`, `<`, `==`, `!=`, `>=`, `>` (all evaluate to `bool`)
2828
- Arithmetic operators: `+`, `-`, unary `-`, `*`, `/`, `%` (modulo).
2929

30-
Note the lack of the `**` (exponentiation) operator as well as any bitwise operators.
30+
Note the lack of the `**` (exponentiation) operator as well as any shifting operators.
3131

3232
#### Number Formatting
3333

@@ -83,6 +83,8 @@ Operators:
8383
- `|` (bitwise OR)
8484
- `^` (bitwise XOR)
8585

86+
Note the lack of the bitshift operators (`<<` and `>>`) as well as bitwise INVERT (`~`).
87+
8688
Members:
8789

8890
- `length`: Number of bytes in the sequence.

0 commit comments

Comments
 (0)