MathLib.atan returns the arc tangent (inverse tangent) of a number.
eglx.lang
static function atan(value float in) returns(float);
The returned value is between -pi/2 and pi/2.
Here is example code:
result = mathLib.atan(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. |