atan()

The system function MathLib.atan returns the arctangent of a number. The result is in radians and is in the range of -pi/2 and pi/2.

  MathLib.atan(numericField mathLibNumber in)
  returns (result mathLibTypeDependentResult)
result
Any numeric or HEX item, as described in Mathematical (system words). The value returned by MathLib.atan is converted to the format of result.
numericField
Any numeric or HEX item, as described in Mathematical (system words). The item is converted to double-precision floating point before MathLib.atan is called.

Example

  result = MathLib.atan(myItem);

Related reference
EGL library MathLib

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.