C++ Programming/Code/Standard C Library/Functions/atan2
atan2
Syntax |
#include <cmath>
double atan2( double y, double x );
|
The atan2() function computes the arc tangent of y/x, using the signs of the arguments to compute the quadrant of the return value.
Category:Book:C++ Programming#Code/Standard%20C%20Library/Functions/atan2%20