Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libm / mathfp / sf_acos.c
blob8631f3b971aca35406edb81d246d88795e639249
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 acosf (float x)
23 return (asinef (x, 1));
26 #ifdef _DOUBLE_IS_32BITS
27 double acos (double x)
29 return (double) asinef ((float) x, 1);
32 #endif /* defined(_DOUBLE_IS_32BITS) */