upgrade
too tired to write a detailed commit message or split into self-explanatory commits
This commit is contained in:
6
src/commonMain/kotlin/com/infendro/otp/util/Math.kt
Normal file
6
src/commonMain/kotlin/com/infendro/otp/util/Math.kt
Normal file
@@ -0,0 +1,6 @@
|
||||
package com.infendro.otp.util
|
||||
|
||||
import kotlin.math.pow
|
||||
|
||||
internal fun Int.pow(x: Int): Int =
|
||||
this.toDouble().pow(x).toInt()
|
||||
Reference in New Issue
Block a user