Returns
a number raised to a specified power
Arguments
- number
-
- power
-
The power to raise number to.
Return Values
If both arguments are
integers, the result is an integer; otherwise, the result is a real.
Examples
Command: (expt
2 4)
16
Command: (expt
3.0 2.0)
9.0