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 (<<<, >>>) --- test/integers.tm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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 -- cgit v1.2.3