(exp number)


Calculate the natural exponent.


The exp returns the natural exponent (the inverse of the natural logarithmic function) raised to the power of the number (ex), where e = 2.71828. The result is a real number.

Examples

Code Returns
(exp 0) 1.00000
(exp 2) 7.38906
(exp -3.2) 0.0407622
(exp pi) 23.1407

Tell me about...

(expt base power)

(log number)

(log10 number)

(sqrt number)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language