^ (Math)

Raises the first of the given values to the power of the second.

Arguments

base
is a real number.
exponent
must be of the same type as
base
.

Return values

power
as a real number.

Example

2.0 0.5 ^ print
Output:
1.414214