authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2015-12-09 12:32:26-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2015-12-09 12:32:26-07:00
log367ea908bdc9a9dff04b00bafd8d7df5f6dfcbde
tree94b3e157338f7db50e43ce94cd5d855bf3d90f39
parent7b181b51adfdd12d6ecd15160c8bb80bde6883ac

readme: update int types


1 files changed, 24 insertions(+), 24 deletions(-)

README.md+24-24
......@@ -93,30 +93,30 @@ make
9393
9494## Primitive Numeric Types:
9595
96zig | C equivalent | Description
97-------------|---------------------|-------------------------------
98 bool | bool | unsigned 1-bit integer
99 i8 | int8_t | signed 8-bit integer
100 u8 | uint8_t | unsigned 8-bit integer
101 i16 | int16_t | signed 16-bit integer
102 u16 | uint16_t | unsigned 16-bit integer
103 i32 | int32_t | signed 32-bit integer
104 u32 | uint32_t | unsigned 32-bit integer
105 i64 | int64_t | signed 64-bit integer
106 u64 | uint64_t | unsigned 64-bit integer
107 f32 | float | 32-bit IEE754 floating point
108 f64 | double | 64-bit IEE754 floating point
109 f128 | long double | 128-bit IEE754 floating point
110 isize | intptr_t | signed pointer sized integer
111 usize | uintptr_t | unsigned pointer sized integer
112 c_short | short | for API compatibility with C
113 c_ushort | unsigned short | for API compatibility with C
114 c_int | int | for API compatibility with C
115 c_uint | unsigned int | for API compatibility with C
116 c_long | long | for API compatibility with C
117 c_ulong | unsigned long | for API compatibility with C
118 c_longlong | long long | for API compatibility with C
119 c_ulonglong | unsigned long long | for API compatibility with C
96zig | C equivalent | Description
97-------------|------------------------|-------------------------------
98 bool | bool | unsigned 1-bit integer
99 i8 | signed char, int8_t | signed 8-bit integer
100 u8 | unsigned char, uint8_t | unsigned 8-bit integer
101 i16 | int16_t | signed 16-bit integer
102 u16 | uint16_t | unsigned 16-bit integer
103 i32 | int32_t | signed 32-bit integer
104 u32 | uint32_t | unsigned 32-bit integer
105 i64 | int64_t | signed 64-bit integer
106 u64 | uint64_t | unsigned 64-bit integer
107 f32 | float | 32-bit IEE754 floating point
108 f64 | double | 64-bit IEE754 floating point
109 f128 | long double | 128-bit IEE754 floating point
110 isize | intptr_t | signed pointer sized integer
111 usize | uintptr_t | unsigned pointer sized integer
112 c_short | short | for API compatibility with C
113 c_ushort | unsigned short | for API compatibility with C
114 c_int | int | for API compatibility with C
115 c_uint | unsigned int | for API compatibility with C
116 c_long | long | for API compatibility with C
117 c_ulong | unsigned long | for API compatibility with C
118 c_longlong | long long | for API compatibility with C
119 c_ulonglong | unsigned long long | for API compatibility with C
120120
121121## Grammar
122122