summaryrefslogtreecommitdiff
path: root/src/math/fmodf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/fmodf.c')
-rw-r--r--src/math/fmodf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/math/fmodf.c b/src/math/fmodf.c
index 4b50a3d3..837e9371 100644
--- a/src/math/fmodf.c
+++ b/src/math/fmodf.c
@@ -20,7 +20,7 @@
#include "libm.h"
-static const float one = 1.0, Zero[] = {0.0, -0.0,};
+static const float Zero[] = {0.0, -0.0,};
float fmodf(float x, float y)
{
@@ -99,7 +99,6 @@ float fmodf(float x, float y)
n = -126 - iy;
hx >>= n;
SET_FLOAT_WORD(x, hx|sx);
- x *= one; /* create necessary signal */
}
return x; /* exact output */
}