From d81078208dfc5871464e73e1d817004dc4fc5a2c Mon Sep 17 00:00:00 2001 From: Kent Slaney Date: Tue, 29 Oct 2024 03:36:32 -0700 Subject: [PATCH] update numbers and operations tables (#732) --- docs/syntax.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/syntax.md b/docs/syntax.md index f13b2c60..76e80c8e 100644 --- a/docs/syntax.md +++ b/docs/syntax.md @@ -600,6 +600,8 @@ Currently, the 3 number types cannot be mixed. | Bitwise And | x & y | int, uint | | Bitwise Or | x \| y | int, uint | | Bitwise Xor | x ^ y | int, uint | +| Bitwise Right Shift | x >> y | uint | +| Bitwise Left Shift | x << y | uint | Hexadecimal and binary floating-point literals are also supported. @@ -1173,6 +1175,8 @@ Currently, the 3 number types cannot be mixed. | Bitwise And | (& x y) | int, uint | | Bitwise Or | (\| x y) | int, uint | | Bitwise Xor | (^ x y) | int, uint | +| Bitwise Right Shift | (>> x y) | uint | +| Bitwise Left Shift | (<< x y) | uint | Hexadecimal and binary floating-point literals are also supported.