Power

HC Arithmetic Irrational Functions Power
Sqrt exp

Power num1 num2
num1 ^ num2

outputs "num1" to the "num2" power. If num1 is negative, then num2 must be an integer.

Examples:

2^0		;1  ;-)
2^1		;2  ;-)
2^2		;4  ;-)
2^3		;8  ;-)
2^(1/12)		;1.05946  ;-)
4^2		;16  ;-)
10^300		;1e+300  ;-)
Power [2 2 2 2 2 4 10] (list 0 1 2 3 1/12 2 300)
;[1 2 4 8 1.05946 16 1e+300] ;-)

See also:

References:

Sqrt exp