Skip to content

Commit 2e3a39e

Browse files
authored
Merge pull request #1364 from tirkarthi/tirkarthi-patch-1
Add 128 bit integers
2 parents e914438 + 46dfd51 commit 2e3a39e

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

2018-edition/src/ch03-02-data-types.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,14 @@ value.
5050

5151
<span class="caption">Table 3-1: Integer Types in Rust</span>
5252

53-
| Length | Signed | Unsigned |
54-
|--------|---------|----------|
55-
| 8-bit | `i8` | `u8` |
56-
| 16-bit | `i16` | `u16` |
57-
| 32-bit | `i32` | `u32` |
58-
| 64-bit | `i64` | `u64` |
59-
| arch | `isize` | `usize` |
53+
| Length | Signed | Unsigned |
54+
|---------|---------|----------|
55+
| 8-bit | `i8` | `u8` |
56+
| 16-bit | `i16` | `u16` |
57+
| 32-bit | `i32` | `u32` |
58+
| 64-bit | `i64` | `u64` |
59+
| 128-bit | `i128` | `u128` |
60+
| arch | `isize` | `usize` |
6061

6162
Each variant can be either signed or unsigned and has an explicit size.
6263
*Signed* and *unsigned* refer to whether it’s possible for the number to be

0 commit comments

Comments
 (0)