1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-05 06:17:36 +02:00

Merge pull request #3474 from zlotnleo/patch-1

[crystal/en] Add new Int128 and UInt128 types
This commit is contained in:
Divay Prakash
2019-02-16 20:13:02 +05:30
committed by GitHub

View File

@@ -25,17 +25,19 @@ true.class #=> Bool
1.class #=> Int32 1.class #=> Int32
# Four signed integer types # Five signed integer types
1_i8.class #=> Int8 1_i8.class #=> Int8
1_i16.class #=> Int16 1_i16.class #=> Int16
1_i32.class #=> Int32 1_i32.class #=> Int32
1_i64.class #=> Int64 1_i64.class #=> Int64
1_i128.class #=> Int128
# Four unsigned integer types # Five unsigned integer types
1_u8.class #=> UInt8 1_u8.class #=> UInt8
1_u16.class #=> UInt16 1_u16.class #=> UInt16
1_u32.class #=> UInt32 1_u32.class #=> UInt32
1_u64.class #=> UInt64 1_u64.class #=> UInt64
1_u128.class #=> UInt128
2147483648.class #=> Int64 2147483648.class #=> Int64
9223372036854775808.class #=> UInt64 9223372036854775808.class #=> UInt64