2 /* @(#)z_atanf.c 1.0 98/08/13 */
3 /******************************************************************
7 * x - floating point value
13 * This routine returns the arctan of x.
15 *****************************************************************/
29 /* this should check to see if neg NaN or pos NaN... */
30 return (__PI_OVER_TWO
);
34 return (atangentf (x
, 0, 0, 0));
38 #ifdef _DOUBLE_IS_32BITS
39 double atan (double x
)
41 return (double) atangentf ((float) x
, 0, 0, 0);
44 #endif /* defined(_DOUBLE_IS_32BITS) */