the
pow
of
factor
pow
(
expression )
Factor and expression yield list
s of integers
, numbers
, or complexes
.
The pow
function returns the value of the power tower of the numeric values passed to it. For example, pow(4,3,2)
evaluates to 4^3^2
or 262144.
If all the values are integer
s or number
s, a number
is returned. If any value is a complex
, a complex
is returned.
This is the infinite-arity version of the ^
operator.