atan()

The mathLib.atan() system function returns the arc tangent (inverse tangent) of a number.

Syntax

  mathLib.atan(numericVariable FLOAT in)
  returns (result FLOAT)
numericVariable
Input can be any variable or expression that is assignment compatible with the FLOAT type (see "Assignment compatibility in EGL").
result
The inverse tangent of numericVariable is returned as a FLOAT value, in radians, in the range -pi/2 to pi/2.

Example

  result = mathLib.atan(myVar);

Feedback