too tired to write a detailed commit message or split into self-explanatory commits
7 lines
126 B
Kotlin
7 lines
126 B
Kotlin
package com.infendro.otp.util
|
|
|
|
import kotlin.math.pow
|
|
|
|
internal fun Int.pow(x: Int): Int =
|
|
this.toDouble().pow(x).toInt()
|