aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-06-01 19:05:46 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-06-01 19:05:46 +0000
commitc5bfe3d5ba29d36563f1e4bd4f8d7336093ee6fc (patch)
treef8072090ce6d587aedc58b61b5e719c255aa33f4 /sysdeps
parent4842e4fe5fcb90312f330b0a98cf73f082aefd01 (diff)
downloadglibc-c5bfe3d5ba29d36563f1e4bd4f8d7336093ee6fc.zip
glibc-c5bfe3d5ba29d36563f1e4bd4f8d7336093ee6fc.tar.gz
glibc-c5bfe3d5ba29d36563f1e4bd4f8d7336093ee6fc.tar.bz2
Fix fmod for subnormals (bug 14048).
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c b/sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c
index 6d25404..a630d10 100644
--- a/sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c
+++ b/sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c
@@ -24,8 +24,8 @@ static const double one = 1.0, Zero[] = {0.0, -0.0,};
double
__ieee754_fmod (double x, double y)
{
- int32_t n,i,ix,iy;
- int64_t hx,hy,hz,sx;
+ int32_t n,ix,iy;
+ int64_t hx,hy,hz,sx,i;
EXTRACT_WORDS64(hx,x);
EXTRACT_WORDS64(hy,y);