fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / newlib / libm / mathfp / s_sinf.c
blobb738a49b91afc87b18c5767268c840ce87b1fb3d
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 _DEFUN (sinf, (float),
22 float x)
24 return (sinef (x, 0));
27 #ifdef _DOUBLE_IS_32BITS
29 double sin (double x)
31 return (double) sinf ((float) x);
34 #endif /* _DOUBLE_IS_32BITS */