From 39a58bc129fd9461d54b837bc1650c4c650aa333 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 3 Nov 2024 16:06:26 -0500 Subject: Clean up behavior and syntax for unsigned bit shifts (<<<, >>>) --- docs/integers.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/integers.md') diff --git a/docs/integers.md b/docs/integers.md index ef30b74d..1c30aee0 100644 --- a/docs/integers.md +++ b/docs/integers.md @@ -21,8 +21,9 @@ truncated form of the input value. Integers support the standard math operations (`x+y`, `x-y`, `x*y`, `x/y`) as well as powers/exponentiation (`x^y`), modulus (`x mod y` and `x mod1 y`), and -bitwise operations: `x and y`, `x or y`, `x xor y`, `x << y`, and `x >> y`. The -operators `and`, `or`, and `xor` are _bitwise_, not logical operators. +bitwise operations: `x and y`, `x or y`, `x xor y`, `x << y`, `x >> y`, `x >>> +y` (unsigned right shift), and `x <<< y` (unsighted left shift). The operators +`and`, `or`, and `xor` are _bitwise_, not logical operators. # Integer Functions -- cgit v1.2.3