projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math: fix modfl.c bug
[musl]
/
src
/
math
/
fmod.c
diff --git
a/src/math/fmod.c
b/src/math/fmod.c
index
6856844
..
84a1b4a
100644
(file)
--- a/
src/math/fmod.c
+++ b/
src/math/fmod.c
@@
-17,7
+17,7
@@
#include "libm.h"
#include "libm.h"
-static const double
one = 1.0,
Zero[] = {0.0, -0.0,};
+static const double Zero[] = {0.0, -0.0,};
double fmod(double x, double y)
{
double fmod(double x, double y)
{
@@
-140,7
+140,6
@@
double fmod(double x, double y)
lx = hx>>(n-32); hx = sx;
}
INSERT_WORDS(x, hx|sx, lx);
lx = hx>>(n-32); hx = sx;
}
INSERT_WORDS(x, hx|sx, lx);
- x *= one; /* create necessary signal */
}
return x; /* exact output */
}
}
return x; /* exact output */
}