• progeCAD in French Language
  • progeCAD in Spanish Language
  • progeCAD in English Language

(expt)

(expt)

(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

(exp number)

(log number)

(log10 number)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language

 
DWG is the native file format for Autodesk AutoCAD®. Autodesk and AutoCAD are registered trademarks or trademarks of Autodesk, Inc. in the USA and/or other countries. progeSOFT and progeCAD are registered trademarks or trademarks of progeCAD s.r.l. in the USA and/or other countries.