Skip to content

Commit d810782

Browse files
authored
update numbers and operations tables (#732)
1 parent fb21101 commit d810782

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/syntax.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,8 @@ Currently, the 3 number types cannot be mixed.
600600
| Bitwise And | x & y | int, uint |
601601
| Bitwise Or | x \| y | int, uint |
602602
| Bitwise Xor | x ^ y | int, uint |
603+
| Bitwise Right Shift | x >> y | uint |
604+
| Bitwise Left Shift | x << y | uint |
603605

604606
Hexadecimal and binary floating-point literals are also supported.
605607

@@ -1173,6 +1175,8 @@ Currently, the 3 number types cannot be mixed.
11731175
| Bitwise And | (& x y) | int, uint |
11741176
| Bitwise Or | (\| x y) | int, uint |
11751177
| Bitwise Xor | (^ x y) | int, uint |
1178+
| Bitwise Right Shift | (>> x y) | uint |
1179+
| Bitwise Left Shift | (<< x y) | uint |
11761180

11771181
Hexadecimal and binary floating-point literals are also supported.
11781182

0 commit comments

Comments
 (0)