fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / newlib / libm / mathfp / sf_acos.c
blob6bef98041523844f6e68659706414bff9db4a4e7
2 /* @(#)z_acosf.c 1.0 98/08/13 */
3 /******************************************************************
4 * Arccosine
6 * Input:
7 * x - floating point value
9 * Output:
10 * arccosine of x
12 * Description:
13 * This routine returns the arccosine of x.
15 *****************************************************************/
17 #include "fdlibm.h"
18 #include "zmath.h"
20 float
21 _DEFUN (acosf, (float),
22 float x)
24 return (asinef (x, 1));
27 #ifdef _DOUBLE_IS_32BITS
28 double acos (double x)
30 return (double) asinef ((float) x, 1);
33 #endif /* defined(_DOUBLE_IS_32BITS) */