From 46dfd51b988b79cf177b132d9bc83f011b4fc1ce Mon Sep 17 00:00:00 2001 From: Xtreak Date: Wed, 16 May 2018 17:47:18 +0530 Subject: [PATCH] Add 128 bit integers --- 2018-edition/src/ch03-02-data-types.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/2018-edition/src/ch03-02-data-types.md b/2018-edition/src/ch03-02-data-types.md index dfdbfcd092..56c5dc2fb4 100644 --- a/2018-edition/src/ch03-02-data-types.md +++ b/2018-edition/src/ch03-02-data-types.md @@ -50,13 +50,14 @@ value. Table 3-1: Integer Types in Rust -| Length | Signed | Unsigned | -|--------|---------|----------| -| 8-bit | `i8` | `u8` | -| 16-bit | `i16` | `u16` | -| 32-bit | `i32` | `u32` | -| 64-bit | `i64` | `u64` | -| arch | `isize` | `usize` | +| Length | Signed | Unsigned | +|---------|---------|----------| +| 8-bit | `i8` | `u8` | +| 16-bit | `i16` | `u16` | +| 32-bit | `i32` | `u32` | +| 64-bit | `i64` | `u64` | +| 128-bit | `i128` | `u128` | +| arch | `isize` | `usize` | Each variant can be either signed or unsigned and has an explicit size. *Signed* and *unsigned* refer to whether it’s possible for the number to be