Built-in functions: math_exp()
The function math_exp() calculates an exponential expression with Euler's number (e=2.718281...) as base.
Declaration
float math_exp( float aValue )
Parameters
aValue
The exponent value to calculate the power expression.
Discussion
The function math_exp() calculates the Euler's number as base raised to the power of aValue. For example:
var float x1 = math_pow( 1.0 ); // x1 = 2.718281745 var float x2 = math_pow( 2.0 ); // x2 = 7.389056205