Edit

kc3-lang/kc3/test/ikc3/cast.kc3

Branch :

  • test/ikc3/cast.kc3
  • quote (S8) -1
    (S8) -1
    quote (S8) -127
    (S8) -127
    quote (S16) -127
    (S16) -127
    quote (S16) -128
    (S16) -128
    quote (S16) -32767
    (S16) -32767
    quote (S32) -32767
    (S32) -32767
    quote (S32) -32768
    (S32) -32768
    quote (S32) -2147483647
    (S32) -2147483647
    quote (S64) -2147483647
    (S64) -2147483647
    quote (S64) -2147483648
    (S64) -2147483648
    quote (S64) -9223372036854775807
    (S64) -9223372036854775807
    quote (U8) 0
    (U8) 0
    quote (U8) 1
    (U8) 1
    quote (U8) 255
    (U8) 255
    quote (U8) 256
    (U8) 256
    quote (U16) 256
    (U16) 256
    quote (U16) 65535
    (U16) 65535
    quote (U16) 65536
    (U16) 65536
    quote (U32) 65536
    (U32) 65536
    quote (U32) 4294967296
    (U32) 4294967296
    quote (U64) 4294967296
    (U64) 4294967296
    quote (U64) 18446744073709551616
    (U64) 18446744073709551616
    quote (Integer) 18446744073709551616
    (Integer) 18446744073709551616
    quote (Integer) 340282366920938463463374607431768211455
    (Integer) 340282366920938463463374607431768211455
    quote (Sym) "Abc"
    (Sym) "Abc"
    quote (Sym) "abc"
    (Sym) "abc"
    quote (Str) Abc
    (Str) Abc
    quote (Str) :abc
    (Str) :abc