guenther
03/15/2018, 6:13 AMcaret
. Is there anything against this? (e.g. operator Int.caret(x: Int): Int = Math.....
)elizarov
03/16/2018, 7:21 AMguenther
03/16/2018, 10:26 AM2^3
is much nicer to read than Math.pow(2, 3)
guenther
03/16/2018, 10:26 AMpower
guenther
03/16/2018, 10:27 AMelizarov
03/16/2018, 10:28 AM2 ** 3
?elizarov
03/16/2018, 10:30 AM2.0.pow(3)
in Kotlin 1.2guenther
03/16/2018, 11:36 AM**
isn't too bad. Is this already possible?elizarov
03/16/2018, 11:41 AMx.pow(y)
is already there and it is not much worse. Try it.guenther
03/16/2018, 2:40 PM