scoop:scoop.math:0.1.0
powExact
public
public fun powExact(value: Short, exponent: Long): Short
Raises to a nonnegative power with overflow checking; zero to zero is one.
public
value: Short
public
exponent: Long
public
public fun powExact(value: UShort, exponent: Long): UShort
Raises to a nonnegative power with overflow checking; zero to zero is one.
public
value: UShort
public
exponent: Long
public
public fun powExact(value: Byte, exponent: Long): Byte
Raises to a nonnegative power with overflow checking; zero to zero is one.
public
exponent: Long
public
value: Byte
public
public fun powExact(value: Int, exponent: Long): Int
Raises to a nonnegative power with overflow checking; zero to zero is one.
public
exponent: Long
public
value: Int
public
public fun powExact(value: Long, exponent: Long): Long
Raises to a nonnegative power with overflow checking; zero to zero is one.
public
exponent: Long
public
value: Long
public
public fun powExact(value: ULong, exponent: Long): ULong
Raises to a nonnegative power with overflow checking; zero to zero is one.
public
value: ULong
public
exponent: Long
public
public fun powExact(value: UByte, exponent: Long): UByte
Raises to a nonnegative power with overflow checking; zero to zero is one.
public
exponent: Long
public
value: UByte
public
public fun powExact(value: UInt, exponent: Long): UInt
Raises to a nonnegative power with overflow checking; zero to zero is one.
public
exponent: Long
public
value: UInt