Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libm / mathfp / s_cos.c
blob7c4029f9d8fc5ac037724b87434a548e84899fe3
2 /* @(#)z_cos.c 1.0 98/08/13 */
3 /******************************************************************
4 * Cosine
6 * Input:
7 * x - floating point value
9 * Output:
10 * cosine of x
12 * Description:
13 * This routine returns the cosine of x.
15 *****************************************************************/
17 #include "fdlibm.h"
18 #include "zmath.h"
20 #ifndef _DOUBLE_IS_32BITS
22 double
23 cos (double x)
25 return (sine (x, 1));
28 #endif /* _DOUBLE_IS_32BITS */