Exp

From The Elder Scrolls Construction Set Wiki

A command for Oblivion Script Extender

Syntax:

exp [float]

Returns e to the power of the specified number. Is the inverse function to log.

[edit] Example

set n to exp n

[edit] Nth Root

OBSE does not provide an Nth Root function, however, the following code can get the Nth Root, using Exp and Log.

set NthRootOfX to ( log x )/N
set NthRootOfX to ( exp NthRootOfX )

[edit] See Also

Personal tools