Permalink
Browse files

oups, s/double/float/ for sinef

  • Loading branch information...
1 parent 3764d6c commit f53ef5b1e2dd43109a2572ec9a8e1049c21ebd27 Youness Alaoui committed Oct 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 newlib/libm/mathfp/sf_sine.c
@@ -54,7 +54,7 @@ _DEFUN (sinef, (float, int),
/* Check for values of x that will overflow here. */
if (fabsf (x) > YMAX)
{
- double m = floorf(x * ONE_OVER_2PI);
+ float m = floorf(x * ONE_OVER_2PI);
x -= (m * 2 * M_PI);
}

0 comments on commit f53ef5b

Please sign in to comment.