(expt base power)


Calculate the exponential.


This function returns the base raised to the power. When both the base and power are integers, the result is an integer. If either is a real number, the result is a real number.

Examples

Code Returns
(expt 5 2) 25
(expt 2.2 6) 113.3800

Tell me about...

(exp number)

(log number)

(log10 number)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language