Участник:Alexsmail/Программирование 2020/новый черновик: различия между версиями
Содержимое удалено Содержимое добавлено
Alexsmail (обсуждение | вклад) стилевые правки |
Alexsmail (обсуждение | вклад) м →REPL: оформление |
||
Строка 273:
Shell https://kotlinlang.org/assets/images/tutorials/command-line/kotlin_shell.png
https://ru.wikipedia.org/wiki/REPL
Строка 302:
NaN
>>> Math.sqrt(4)
Math.sqrt(4)
>>> Math.sqrt(4.0)
2.0
>>> Math.pow(Math.sqrt(4.0), 2.0)
4.0
>>> Math.pow(Math.sqrt(Math.sqrt(Math.sqrt(Math.sqrt(Math.sqrt(Math.sqrt(Math.sqrt(Math.sqrt(4.0)))))))), 256.0)
3.999999999999903
</syntaxhighlight>
|