# (expt base power) [GstarCAD 2011](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md) <!-- help-structure:notice --> > **Source status:** This source topic has 2 recorded inherited issue(s). [Source issue details](../../../Source%20Issues.md). <!-- /help-structure:notice --> <a id="172"></a> ## (expt base power) --- Calculate the exponential. --- This function returns the base raised to the power. When both the *base* and *power* are [integers](../../../Source%20Issues.md#issue-7930a8939f6d0f1b), the result is an integer. If either is a [real number](../../../Source%20Issues.md#issue-59a2b69865f76d8d), the result is a real number. ### Examples | Code | Returns | | --- | --- | | (**expt** 5 2\) | 25 | | (**expt** 2.2 6\) | 113.3800 | **Tell me about...** [(exp number)](%28exp%20number%29.md) [(log number)](%28log%20number%29.md) [(log10 number)](%28log10%20number%29.md) [LISP Compatibility](../LISP%20Compatibility.md) [Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md) <a id="holding"></a> ## Other versions with matching text [GstarCAD 2012](../../../../2012/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28expt%20base%20power%29.md)