diff options
Diffstat (limited to 'test/integers.tm')
| -rw-r--r-- | test/integers.tm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/integers.tm b/test/integers.tm index c92cbddf..55683500 100644 --- a/test/integers.tm +++ b/test/integers.tm @@ -56,3 +56,22 @@ func main(): >> Int(2.1) = 2 : Int + + do: + >> small_int := 1 + = 1 + >> max_small_int := 536870911 + = 536870911 + >> max_i64 := 536870912 + = 536870912 + >> super_big := 9999999999999999999999 + = 9999999999999999999999 + >> max_small_int + 1 + = 536870912 + + >> max_small_int + max_small_int + = 1073741822 + + >> super_big + 1 + = 10000000000000000000000 + |
