exp
exp ( number : number ) : number
Parameter | Type | Description | |
---|---|---|---|
number | number | -> | Number to evaluate |
Result | number | <- | Natural log base by the power of number |
Description
exp
raises the natural log base (e = 2.71828...) by the power of number. exp
is the inverse function of log
.
note
Qodly provides the predefined constant e number (2.71828...).
Example
The following example assigns the exponential of 1 to vrE (the log of vrE is 1):
var vrE : number
vrE = exp(1) // vrE gets 2.17828...