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