the
exp
of
factor
exp
(
expression )
Factor and expression yield integer
s, number
s, or complex
es.
put the exp of 2 -- yields 7.389056
The exp
function returns the mathematical exponential of its argument, defined as the constant e, which is approximately 2.7182818284, raised to the power specified by the argument. That is, it returns:
euler
^number
The exp
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.