Returns Ex, where x is the argument, and E is Euler's constant, the base of the natural logarithms.
Math
exp(x)
x
exp is a static method of Math. As a result, you always use it as Math.exp(), rather than as a method of a Math object you create.
The following function returns the exponential value of the variable x:
If you pass getExp the value 1, it returns 2.718281828459045.
Math:E, Math:log, Math:pow