C++ Programming/Code/Standard C Library/Functions/atan2
< C++ Programming < Code < Standard C Library < Functionsatan2
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.
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.