Function Entry: EXPT
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: EXPT
Name
expt
Class
Function
Syntax
(expt number power)
Arguments and Values
number: integer or real, the base.power: integer or real, the exponent.
Description
Returns number raised to the power power.
Return Values
If both arguments are integers, the result is an integer; otherwise the result is a real.
Side Effects
None.
Examples
(expt 2 4)returns16.(expt 3.0 2.0)returns9.0.
Availability
- AutoCAD 2026: documented.
- BricsCAD V26: documented under the BricsCAD-only name
powerand presumed to supportexpt. The BricsCAD analogue is recorded separately in chapter 24 — see Phase 4 cross-reference. - Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
See Also
- BricsCAD analogue:
power(chapter 24). AutoCAD users portably write(expt base exp); BricsCAD users may use either.
Source Notes
- [expt (AutoLISP 2026)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-FCAC3150-7491-43DB-8042-37EDE3791A96.htm)
- Status: documented (Phase 3 body fill).