Power

Syntax

…num-expr… ^ …num-expr…

Typing

num1, num2 -> largest(num1, num2)

Description

Compute the first operand to the power of the second.

The result type is the largest of the operand types.

Examples

expression evaluates to
2 ^ 3 8
PI ^ PI 36.4621596072079

See Also

Multiplication