The ATAN function returns
the 2-quadrant arctangent (inverse tangent) of the argument. The value
that is returned is the angle (in radians) whose tangent is x and
whose value ranges from - to . If the argument is missing, then ATAN returns a
missing value.
Comparisons
The ATAN function is
similar to the ATAN2 function except that ATAN2 calculates the arc
tangent of the angle from the values of two arguments rather than
from one argument.
Example
The following statements
illustrate the ATAN function: