Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libm / mathfp / s_sinf.c
blob3e29fedf38beae52d7c714bc2ba31bca790f0b58
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) sinf ((float) x);
33 #endif /* _DOUBLE_IS_32BITS */