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 |