diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-03-21 13:07:44 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-03-21 13:07:44 +0530 |
commit | b33d4ce4a2a05ca8a29798f410657e43722193ff (patch) | |
tree | 2c2cb0dc62e8a8d2e7feaada7e2fa4f641df2805 /sysdeps/ieee754/dbl-64/mpsqrt.c | |
parent | defa03577f2dfeca7bc859426954a22b702ada43 (diff) | |
download | glibc-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/mpsqrt.c')
-rw-r--r-- | sysdeps/ieee754/dbl-64/mpsqrt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/dbl-64/mpsqrt.c b/sysdeps/ieee754/dbl-64/mpsqrt.c index 71ef5ce776..230d1f36e8 100644 --- a/sysdeps/ieee754/dbl-64/mpsqrt.c +++ b/sysdeps/ieee754/dbl-64/mpsqrt.c @@ -53,8 +53,8 @@ __mpsqrt (mp_no *x, mp_no *y, int p) { int i, m, ey; double dx, dy; - static const mp_no mphalf = {0, {1.0, 8388608.0 /* 2^23 */}}; - static const mp_no mp3halfs = {1, {1.0, 1.0, 8388608.0 /* 2^23 */}}; + static const mp_no mphalf = {0, {1.0, HALFRAD}}; + static const mp_no mp3halfs = {1, {1.0, 1.0, HALFRAD}}; mp_no mpxn, mpz, mpu, mpt1, mpt2; ey = EX / 2; |