dos_exp - dalefugier/DOSLib GitHub Wiki

Returns e raised to the power of number. The constant e equals 2.71828182845904523536, the base of the natural logarithm.

Syntax

(dos_exp number)

Parameters

number

The exponent applied to the base e.

Returns

Returns e raised the power, if successful.

nil on error.

Example

Command: (dos_exp 1)
2.71828
Command: (dos_exp 2)
7.38906