about summary refs log tree commit diff
path: root/sysdeps/ieee754/dbl-64/sincos32.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-03-21 13:07:44 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-03-21 13:07:44 +0530
commitb33d4ce4a2a05ca8a29798f410657e43722193ff (patch)
tree2c2cb0dc62e8a8d2e7feaada7e2fa4f641df2805 /sysdeps/ieee754/dbl-64/sincos32.c
parentdefa03577f2dfeca7bc859426954a22b702ada43 (diff)
downloadglibc-b33d4ce4a2a05ca8a29798f410657e43722193ff.tar.gz
glibc-b33d4ce4a2a05ca8a29798f410657e43722193ff.tar.xz
glibc-b33d4ce4a2a05ca8a29798f410657e43722193ff.zip
Replace 8388608.0 with HALFRAD in mp code
Minor cleanup
Diffstat (limited to 'sysdeps/ieee754/dbl-64/sincos32.c')
-rw-r--r--sysdeps/ieee754/dbl-64/sincos32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/dbl-64/sincos32.c b/sysdeps/ieee754/dbl-64/sincos32.c
index 3d2b2914aa..954db66d6b 100644
--- a/sysdeps/ieee754/dbl-64/sincos32.c
+++ b/sysdeps/ieee754/dbl-64/sincos32.c
@@ -262,7 +262,7 @@ __mpranred(double x, mp_no *y, int p)
     for (i=1;i<=p-c.e;i++) c.d[i]=c.d[i+c.e];
     for (i=p+1-c.e;i<=p;i++) c.d[i]=0;
     c.e=0;
-    if (c.d[1] >=  8388608.0)
+    if (c.d[1] >= HALFRAD)
     { t +=1.0;
       __sub(&c,&mpone,&b,p);
       __mul(&b,&hp,y,p);