```inline fun Int.pow(x: Int): Int = toDouble().po...
# stdlib
g
Copy code
inline fun Int.pow(x: Int): Int = toDouble().pow(x.toDouble()).toInt()
Or with any other receiver, argument or return value type But I don’t think that I need versions for all possible combinations on stdlib
👎 1