summaryrefslogtreecommitdiffhomepage
path: root/crystal.html.markdown
diff options
context:
space:
mode:
authorzlotnleo <zlotnleo@gmail.com>2019-02-13 10:46:45 +0000
committerGitHub <noreply@github.com>2019-02-13 10:46:45 +0000
commit520ce46ab55f52f6e58841354f51722ec8a8387e (patch)
treed18575a3977a4c52e967124aaea797f96f52593d /crystal.html.markdown
parentf3c25c4501ba479a5d9feb146153d6635062dbea (diff)
Add new Int128 and UInt128 types
https://crystal-lang.org/api/0.27.2/UInt128.html https://crystal-lang.org/api/0.27.2/Int128.html
Diffstat (limited to 'crystal.html.markdown')
-rw-r--r--crystal.html.markdown24
1 files changed, 13 insertions, 11 deletions
diff --git a/crystal.html.markdown b/crystal.html.markdown
index 8210b443..9fae9da3 100644
--- a/crystal.html.markdown
+++ b/crystal.html.markdown
@@ -25,17 +25,19 @@ true.class #=> Bool
1.class #=> Int32
-# Four signed integer types
-1_i8.class #=> Int8
-1_i16.class #=> Int16
-1_i32.class #=> Int32
-1_i64.class #=> Int64
-
-# Four unsigned integer types
-1_u8.class #=> UInt8
-1_u16.class #=> UInt16
-1_u32.class #=> UInt32
-1_u64.class #=> UInt64
+# Five signed integer types
+1_i8.class #=> Int8
+1_i16.class #=> Int16
+1_i32.class #=> Int32
+1_i64.class #=> Int64
+1_i128.class #=> Int128
+
+# Five unsigned integer types
+1_u8.class #=> UInt8
+1_u16.class #=> UInt16
+1_u32.class #=> UInt32
+1_u64.class #=> UInt64
+1_u128.class #=> UInt128
2147483648.class #=> Int64
9223372036854775808.class #=> UInt64