Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libm / mathfp / s_sincos.c
blob8694dc64d77c49a6a0eb6059f4afa1711e7207c2
2 /* @(#)z_sin.c 1.0 98/08/13 */
3 /******************************************************************
4 * Sine
6 * Input:
7 * x - floating point value
9 * Output:
10 * sine of x
12 * Description:
13 * This routine returns the sine of x.
15 *****************************************************************/
17 #include "fdlibm.h"
18 #include "zmath.h"
20 #ifndef _DOUBLE_IS_32BITS
22 void
23 sincos (double x,
24 double *sinx,
25 double *cosx)
27 *sinx = sin (x);
28 *cosx = cos (x);
31 #endif /* _DOUBLE_IS_32BITS */