Home > Electronics Tutorials > C Language Tutorial > math.h - Trigonometry functions - atan2

C Language Programming Library Reference Guide

math.h - Trigonometry functions - atan2

Declaration: double atan2(doubly y, double x);

Returns the arc tangent in radians of y/x based on the signs of both values to determine the correct quadrant.

Range: Both y and x cannot be zero. The returned value is in the range of -p/2 to +p/2 (inclusive).
Note: To report broken links or to submit your projects, tutorials please email to Webmaster