atan

Computes the principal value of the arc tangent of the specified argument.

Library:LibC
Classification:ANSI
Service:Math

Syntax

  #include <math.h> 
   
  double atan (
     double   x);
  

Parameters

x

(IN) Specifies an argument whose arc tangent is to be computed.

Return Values

Returns the arc tangent in the range (-pi/2, pi/2).

See Also