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

From Wikibooks, open books for an open world
Jump to navigation Jump to search

atan[edit | edit source]

#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