MathLib.exp returns the exponential of a number, which is the constant e (the base of natural logarithms) raised to the power of that number.
eglx.lang
static function exp(value float in) returns(float);
Here is example code:
result = mathLib.exp(myVar);
In the case of Java™, EGL uses methods in the Java StrictMath class that are equivalent to the EGL functions. This usage ensures that the runtime behavior is the same for every Java Virtual Machine.
Target | Issue |
---|---|
Java | No issues. |
JavaScript | No issues. |