power

abstract fun power(arg: T, pow: Number): T

Raises arg to a power if possible (negative number could not be raised to a fractional power). Throws IllegalArgumentException if not possible.

Sources

Link copied to clipboard