1
0
forked from Mirror/wren

Use strtoll() for hex literals to handle 64-bit ones even on 32-bit.

This commit is contained in:
Bob Nystrom
2017-01-12 21:53:21 -08:00
parent 0cc00c41c0
commit 5ddd783ff5
3 changed files with 16 additions and 9 deletions

View File

@ -5,4 +5,5 @@ System.print(x + 1) // expect: 256
System.print(x == 255) // expect: true
System.print(0x09 is Num) // expect: true
System.print(x is Num) // expect: true
System.print(-0xFF) // expect: -255
System.print(-0xFF) // expect: -255
System.print(0xdeadbeef) // expect: 3735928559