atan (Function) |
Top Previous Next |
This function will calculate the principal value of the arc tangent of an angle. This function can not determine the quadrant of the angle. Use atan2 if it is needed.
Note: This function works with DOUBLE, but can also work with FLOAT as described in the Floating-point math introductory section.
Input: V : DOUBLE Value to compute the arc tangent of.
Returns: DOUBLE The arch tangent of the value in radians.
Declaration: FUNCTION atan : DOUBLE;
Example: INCLUDE rtcu.inc |