Adjusted wording a little bit based on the feedback
https://github.com/svtk/AtomicKotlinCourse/issues/25
This commit is contained in:
parent
bd278ff60c
commit
2ca2af5f99
|
@ -3,8 +3,8 @@
|
||||||
This exercise modifies `Overflow.kt` to test `Long` and `Double`. Implement
|
This exercise modifies `Overflow.kt` to test `Long` and `Double`. Implement
|
||||||
`testLong()` to display the `Long` maximum value incremented by `1`. Make
|
`testLong()` to display the `Long` maximum value incremented by `1`. Make
|
||||||
`testDouble()` display the `Double` maximum value incremented by `1`. Make
|
`testDouble()` display the `Double` maximum value incremented by `1`. Make
|
||||||
`testDouble2()` display the result of comparing `Double.MAX_VALUE` and
|
`testDouble2()` display the result of checking whether `Double.MAX_VALUE` and
|
||||||
`Double.MAX_VALUE + 1`.
|
`Double.MAX_VALUE + 1` are equal.
|
||||||
|
|
||||||
The `Double` type usually occupies 64 bits in memory.
|
The `Double` type usually occupies 64 bits in memory.
|
||||||
Because of memory constraints, `Double` represents numbers with some
|
Because of memory constraints, `Double` represents numbers with some
|
||||||
|
|
Loading…
Reference in New Issue