Guardian C Library Calls Reference Manual
Reference to Library Calls
Guardian TNS C Library Calls Reference Manual—128833 3-7
atan
atan
The atan function computes the arc tangent of its argument. 
expr
is an expression of type double.
Return Value
is the arc tangent of expr, expressed as a double value in the range -pi/2 to +pi/2 
radians.
Example
This example prints “The arc tangent is 0.927295 radians.”
#include <stdioh>
#include <mathh>
int main(void)
{
 double r, x, y, t;
 x = 4.0;
 y = 3.0;
 t = x/y;
 r = atan(t);
 printf ("The arc tangent is %f radians.", r);
}
#include <mathh>
double atan(double expr);










