@@ -8,46 +8,46 @@ Quick References
88Data type
99---------
1010
11- ============= ====== ===== ====================================================
11+ ============= ====== ===== =====================================================
1212Type Name Bytes Description
13- ============= ====== ===== ====================================================
13+ ============= ====== ===== =====================================================
1414`bool ` `b ` 1 Boolean (True or False) stored as a byte
15- ------------- ------ ----- ----------------------------------------------------
15+ ------------- ------ ----- -----------------------------------------------------
1616`int ` `i4 ` 4 Platform integer (normally either int32 or int64)
17- ------------- ------ ----- ----------------------------------------------------
17+ ------------- ------ ----- -----------------------------------------------------
1818`int8 ` `i1 ` 1 Byte (-128 to 127)
19- ------------- ------ ----- ----------------------------------------------------
19+ ------------- ------ ----- -----------------------------------------------------
2020`int16 ` `i2 ` 2 Integer (-32768 to 32767)
21- ------------- ------ ----- ----------------------------------------------------
21+ ------------- ------ ----- -----------------------------------------------------
2222`int32 ` `i4 ` 4 Integer (-2147483648 to 2147483647)
23- ------------- ------ ----- ----------------------------------------------------
24- `int64 ` `i8 ` 8 Integer (9223372036854775808 to 9223372036854775807)
25- ------------- ------ ----- ----------------------------------------------------
23+ ------------- ------ ----- -----------------------------------------------------
24+ `int64 ` `i8 ` 8 Integer (- 9223372036854775808 to 9223372036854775807)
25+ ------------- ------ ----- -----------------------------------------------------
2626`uint8 ` `u1 ` 1 Unsigned integer (0 to 255)
27- ------------- ------ ----- ----------------------------------------------------
27+ ------------- ------ ----- -----------------------------------------------------
2828`uint16 ` `u2 ` 2 Unsigned integer (0 to 65535)
29- ------------- ------ ----- ----------------------------------------------------
29+ ------------- ------ ----- -----------------------------------------------------
3030`uint32 ` `u4 ` 4 Unsigned integer (0 to 4294967295)
31- ------------- ------ ----- ----------------------------------------------------
31+ ------------- ------ ----- -----------------------------------------------------
3232`uint64 ` `u8 ` 8 Unsigned integer (0 to 18446744073709551615)
33- ------------- ------ ----- ----------------------------------------------------
33+ ------------- ------ ----- -----------------------------------------------------
3434`float ` `f8 ` 8 Shorthand for float64
35- ------------- ------ ----- ----------------------------------------------------
35+ ------------- ------ ----- -----------------------------------------------------
3636`float16 ` `f2 ` 2 Half precision float:
3737 sign bit, 5 bits exponent, 10 bits mantissa
38- ------------- ------ ----- ----------------------------------------------------
38+ ------------- ------ ----- -----------------------------------------------------
3939`float32 ` `f ` 4 Single precision float:
4040 sign bit, 8 bits exponent, 23 bits mantissa
41- ------------- ------ ----- ----------------------------------------------------
41+ ------------- ------ ----- -----------------------------------------------------
4242`float64 ` `d ` 8 Double precision float:
4343 sign bit, 11 bits exponent, 52 bits mantissa
44- ------------- ------ ----- ----------------------------------------------------
44+ ------------- ------ ----- -----------------------------------------------------
4545`complex ` `c16 ` 16 Shorthand for complex128.
46- ------------- ------ ----- ----------------------------------------------------
46+ ------------- ------ ----- -----------------------------------------------------
4747`complex64 ` `c8 ` 8 Complex number, represented by two 32-bit floats
48- ------------- ------ ----- ----------------------------------------------------
48+ ------------- ------ ----- -----------------------------------------------------
4949`complex128 ` `c16 ` 16 Complex number, represented by two 64-bit floats
50- ============= ====== ===== ====================================================
50+ ============= ====== ===== =====================================================
5151
5252Creation
5353--------
0 commit comments