Everything

atan / atanf / atanl


Calculates the arc tangent of a floating-point number.

[Format]

#include <math.h>

double atan (double d);

float atanf (float d);

long double atanl (long double d);

[Parameters]

d Floating-point number for which arc tangent is to be computed

[Return values]

Arc tangent of d

[Remarks]

The atan function returns the arc tangent in the range (–π/2, +π/2) by the radian.