diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-03 16:06:26 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-03 16:06:26 -0500 |
| commit | 39a58bc129fd9461d54b837bc1650c4c650aa333 (patch) | |
| tree | d3a7e9b3be33856cc8343f6cb273f9a14c28effd /docs/integers.md | |
| parent | 3743913ce2c5bc37f899d437c09b60cbb3bc6dea (diff) | |
Clean up behavior and syntax for unsigned bit shifts (<<<, >>>)
Diffstat (limited to 'docs/integers.md')
| -rw-r--r-- | docs/integers.md | 5 |
1 files changed, 3 insertions, 2 deletions
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 |
