diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-04-02 17:53:09 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-04-02 17:53:09 +0530 |
commit | e7906a4789f9f6ac4cd4a99522832753887a8cc7 (patch) | |
tree | 6981bda7d5a0e33ba4ced1530deb3b08701e55f7 /sysdeps/ieee754/dbl-64/mpexp.c | |
parent | 92e3664bb597c61c581d02c833729d484de726ad (diff) | |
download | glibc-e7906a4789f9f6ac4cd4a99522832753887a8cc7.zip glibc-e7906a4789f9f6ac4cd4a99522832753887a8cc7.tar.gz glibc-e7906a4789f9f6ac4cd4a99522832753887a8cc7.tar.bz2 |
Use mantissa_t in mpexp
Diffstat (limited to 'sysdeps/ieee754/dbl-64/mpexp.c')
-rw-r--r-- | sysdeps/ieee754/dbl-64/mpexp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/dbl-64/mpexp.c b/sysdeps/ieee754/dbl-64/mpexp.c index a219401..06347b7 100644 --- a/sysdeps/ieee754/dbl-64/mpexp.c +++ b/sysdeps/ieee754/dbl-64/mpexp.c @@ -43,7 +43,7 @@ SECTION __mpexp (mp_no *x, mp_no *y, int p) { int i, j, k, m, m1, m2, n; - double b; + mantissa_t b; static const int np[33] = { 0, 0, 0, 0, 3, 3, 4, 4, 5, 4, 4, 5, 5, 5, 6, 6, 6, 6, 6, 6, @@ -80,7 +80,7 @@ __mpexp (mp_no *x, mp_no *y, int p) b = X[1]; m2 = 24 * EX; for (; b < HALFRAD; m2--) - b *= TWO; + b *= 2; if (b == HALFRAD) { for (i = 2; i <= p; i++) |