What is the exponent operator in Kotlin. I assumed it would be ** but it seems to throw up an error in my code.
**
when (pendingOperation) { \"
Here's another way to solve this problem:
"a^b" -> operand1 = (operand1!! + 0.0).pow(value + 0.0).toInt()