Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libm / mathfp / sf_sin.c
blob61ae76b6bc22e034f4b6a4acc359596c8ee5c477
2 /* @(#)z_sinf.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 float
21 sinf (float x)
23 return (sinef (x, 0));
26 #ifdef _DOUBLE_IS_32BITS
28 double sin (double x)
30 return (double) sinef ((float) x, 0);
33 #endif /* defined(_DOUBLE_IS_32BITS) */