atan

Arcta

double atan (
        double x
)

Arguments

x Argument.

Return value

The arctangent of x (atan(x)) is returned. The result range is [-pi/2, pi/2].

Explanation

The arctangent of x is calculated and its value is returned.

See Also

tan(), asin(), acos(), atan2()