the
exp2
of
factor
exp2
(
expression )
Factor and expression yield integer
s, number
s, or complex
es.
put the exp2 of 16 -- yields 65536
The exp2
function returns the value of 2 raised to the power specified by its argument. That is, it returns:
2^number
The exp2
function is faster and more accurate than using the above formula.
If the argument is an integer
or a number
, a number
is returned. If the argument is a complex
, a complex
is returned.