atan2() Mathematics Function atan2() Calculate inverse tangent double atan2(num, den) double num, den; atan2 calculates the inverse tangent of the quotient of its ar- guments num/den. num and den may be any real numbers. The result will be in the range [-P, P]. The sign of the result will have the same sign as num, and the cosine will have the same sign as den. ***** Example ***** For an example of this function, see the entry for acos. ***** See Also ***** errno, mathematics library COHERENT Lexicon Page 1