From c1b0077435dffa1af8726c2a8c76adcad5cdf4d4 Mon Sep 17 00:00:00 2001 From: Tomas Date: Tue, 23 Feb 2021 13:54:02 +0100 Subject: [PATCH] remove d in Double e.g. 4e-10 - is scientific format of number, but 4e-10d looks like a typo to me --- _overviews/scala3-book/first-look-at-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/scala3-book/first-look-at-types.md b/_overviews/scala3-book/first-look-at-types.md index a29b4bd572..0a14e41a8c 100644 --- a/_overviews/scala3-book/first-look-at-types.md +++ b/_overviews/scala3-book/first-look-at-types.md @@ -124,7 +124,7 @@ Those data types and their ranges are: | 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 | +| Double | 64-bit IEEE 754 double-precision float
4.94065645841246544e-324 to 1.79769313486231570e+308 | | Char | 16-bit unsigned Unicode character (0 to 2^16-1, inclusive)
0 to 65,535 | | String | a sequence of `Char` |