summaryrefslogtreecommitdiff
path: root/docs/type_system/int.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/type_system/int.md')
-rw-r--r--docs/type_system/int.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/type_system/int.md b/docs/type_system/int.md
new file mode 100644
index 0000000..5986c3b
--- /dev/null
+++ b/docs/type_system/int.md
@@ -0,0 +1,21 @@
+# Int
+
+---
+
+```text
+Int_bit_size : `alias Enum[.bit8; .bit16; .bit32; .bit64]
+
+Int_signedness : `alias Enum[.signed; .unsigned]
+
+Int[Int_bit_size; Int_signedness]
+
+I8 : `alias Int[.bit8; .signed]
+I16 : `alias Int[.bit16; .signed]
+I32 : `alias Int[.bit32; .signed]
+I64 : `alias Int[.bit64; .signed]
+
+U8 : `alias Int[.bit8; .unsigned]
+U16 : `alias Int[.bit16; .unsigned]
+U32 : `alias Int[.bit32; .unsigned]
+U64 : `alias Int[.bit64; .unsigned]
+```