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...