From 158a1c6ad2d9b3f2a598e6d1d8debcc824ad73d0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 13 Aug 2024 02:09:18 -0400 Subject: More fixes --- test/integers.tm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/integers.tm b/test/integers.tm index 94ab8ac6..a99f614a 100644 --- a/test/integers.tm +++ b/test/integers.tm @@ -14,7 +14,7 @@ func main(): >> 1i8 + 2i16 = 3_i16 - >> 2 ^ 10 + >> 1 << 10 = 1024 : Num >> 3 and 2 @@ -32,7 +32,7 @@ func main(): >> nums = "1,2,3,4,5," - >> x := 123 + >> x := 123i64 >> x:format(digits=5) = "00123" >> x:hex() @@ -40,10 +40,10 @@ func main(): >> x:octal() = "0o173" - >> Int.random() - >> Int.min + >> Int.random(1, 100) + >> Int64.min = -9223372036854775808 - >> Int.max + >> Int64.max = 9223372036854775807 -- cgit v1.2.3