From 2c904ff1737e34008f7a6c5d4b072d87a45a3fbc Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 19 Nov 2024 13:41:52 -0500 Subject: Go back to stringifying integers/num32s/bytes without the type constructor. --- test/integers.tm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'test/integers.tm') diff --git a/test/integers.tm b/test/integers.tm index 323508da..02ae519b 100644 --- a/test/integers.tm +++ b/test/integers.tm @@ -12,20 +12,20 @@ func main(): = 10 >> Int8(1) + Int16(2) - = Int16(3) + = 3 : Int16 >> 1 << 10 = 1024 !! Signed and unsigned bit shifting: >> Int64(-2) << 1 - = Int64(-4) + = -4 : Int64 >> Int64(-2) <<< 1 - = Int64(-4) + = -4 : Int64 >> Int64(-2) >> 1 - = Int64(-1) + = -1 : Int64 >> Int64(-2) >>> 1 - = Int64(9223372036854775807) + = 9223372036854775807 : Int64 >> 3 and 2 = 2 @@ -51,9 +51,9 @@ func main(): = "0o173" >> Int64.min - = Int64(-9223372036854775808) + = -9223372036854775808 >> Int64.max - = Int64(9223372036854775807) + = 9223372036854775807 >> Int32(123):hex() @@ -127,6 +127,6 @@ func main(): = 0 >> Int64(yes) - = Int64(1) + = 1 : Int64 >> Int64(no) - = Int64(0) + = 0 : Int64 -- cgit v1.2.3