Jump to content

C++ Programming/Code/Standard C Library/Functions/atan

From Wikibooks, open books for an open world
Syntax
#include <cmath>
double atan( double arg );

The function atan() returns the arc tangent of arg, which will be in the range [-pi/2, +pi/2].

Related topics
acos - asin - atan2 - cos - cosh - sin - sinh - tan - tanh