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...
Programming Overview of LISP (LISt Processing) Language
Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved. |