atan

Calculates the arctangent.

double atan (double x);

Required Header
<math.h>

Return Value

This function returns the arctangent of a double in radians.

Parameters

x

  The value to be converted

Remarks

The atan function calculates the arctangent of x to 15 digits of precision.

Mathematics

See Also    asin, acos, atan2, cos, sin, tan, sinh, cosh, tanh, cot