math operators

Returns the value of the first argument raised to the power of the second argument.

The ** operator consumes two parameters from the top of the stack (a base b and an exponent n) and pushes back the result raising b to the power of n, i.e. bn. For special cases see pow().

The two parameters must be of numeric types.

** is available since version 1.0.0.

See also



2 8 ** 2.5 2 **