@@ -36,7 +36,7 @@ val oneByte: Byte = 1
36
36
For real numbers, Kotlin provides floating-point types ` Float ` and ` Double ` .
37
37
According to the [ IEEE 754 standard] ( https://en.wikipedia.org/wiki/IEEE_754 ) ,
38
38
floating point types differ by their _ decimal place_ , that is, how many decimal digits they can store.
39
- ` Float ` reflects the IEEE 754 _ single precision_ , while ` Double ` provides _ double precision_ .
39
+ ` Float ` reflects the IEEE 754 _ single precision_ , while ` Double ` provides _ double precision_ .
40
40
41
41
| Type | Size (bits)| Significant bits| Exponent bits| Decimal digits|
42
42
| --------| -----------| --------------- | -------------| --------------|
@@ -409,7 +409,7 @@ fun main() {
409
409
410
410
Characters are represented by the type ` Char ` . Character literals go in single quotes: ` '1' ` .
411
411
412
- Special characters start from an ecsaping backslash ` \ ` .
412
+ Special characters start from an escaping backslash ` \ ` .
413
413
The following escape sequences are supported: ` \t ` , ` \b ` , ` \n ` , ` \r ` , ` \' ` , ` \" ` , ` \\ ` and ` \$ ` .
414
414
415
415
To encode any other character, use the Unicode escape sequence syntax: ` '\uFF00' ` .
@@ -628,4 +628,4 @@ val arr = IntArray(5) { 42 }
628
628
// e.g. initialise the values in the array using a lambda
629
629
// Array of int of size 5 with values [0, 1, 2, 3, 4] (values initialised to their index value)
630
630
var arr = IntArray (5 ) { it * 1 }
631
- ```
631
+ ```
0 commit comments