aboutsummaryrefslogtreecommitdiff
path: root/test/integers.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-03 16:06:26 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-03 16:06:26 -0500
commit39a58bc129fd9461d54b837bc1650c4c650aa333 (patch)
treed3a7e9b3be33856cc8343f6cb273f9a14c28effd /test/integers.tm
parent3743913ce2c5bc37f899d437c09b60cbb3bc6dea (diff)
Clean up behavior and syntax for unsigned bit shifts (<<<, >>>)
Diffstat (limited to 'test/integers.tm')
-rw-r--r--test/integers.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integers.tm b/test/integers.tm
index 225baab5..9b5b6b4f 100644
--- a/test/integers.tm
+++ b/test/integers.tm
@@ -20,11 +20,11 @@ func main():
!! Signed and unsigned bit shifting:
>> -2[64] << 1
= -4[64]
- >> -2[64] <<[u] 1
+ >> -2[64] <<< 1
= -4[64]
>> -2[64] >> 1
= -1[64]
- >> -2[64] >>[u] 1
+ >> -2[64] >>> 1
= 9223372036854775807[64]
>> 3 and 2