From 7a730bab107863d97dd63a0f2e0052c5b1c8bb52 Mon Sep 17 00:00:00 2001 From: Perfumister Date: Sun, 5 Jan 2020 14:39:07 +0000 Subject: [PATCH] Correct typo in built-in-types.md Leading minus symbol missing from negative end of `Short` and `Int` table descriptions --- _overviews/scala-book/built-in-types.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_overviews/scala-book/built-in-types.md b/_overviews/scala-book/built-in-types.md index b1257e97c1..c1607106cb 100644 --- a/_overviews/scala-book/built-in-types.md +++ b/_overviews/scala-book/built-in-types.md @@ -50,8 +50,8 @@ Those data types and their ranges are: | ------------- | --------------- | | Boolean | `true` or `false` | | Byte | 8-bit signed two’s complement integer (-2^7 to 2^7-1, inclusive)
-128 to 127 | -| Short | 16-bit signed two’s complement integer (-2^15 to 2^15-1, inclusive)
32,768 to 32,767 -| Int | 32-bit two’s complement integer (-2^31 to 2^31-1, inclusive)
2,147,483,648 to 2,147,483,647 | +| Short | 16-bit signed two’s complement integer (-2^15 to 2^15-1, inclusive)
-32,768 to 32,767 +| Int | 32-bit two’s complement integer (-2^31 to 2^31-1, inclusive)
-2,147,483,648 to 2,147,483,647 | | Long | 64-bit two’s complement integer (-2^63 to 2^63-1, inclusive)
(-2^63 to 2^63-1, inclusive) | | Float | 32-bit IEEE 754 single-precision float
1.40129846432481707e-45 to 3.40282346638528860e+38 | | Double | 64-bit IEEE 754 double-precision float
4.94065645841246544e-324d to 1.79769313486231570e+308d |