diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-12-27 20:43:55 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-12-27 20:43:55 +0530 |
commit | 31a7fe5ca943b8bd76357c9c013211f8c17db833 (patch) | |
tree | 68684e37c78e26a0f9e4e7683a867b07871762c5 /sysdeps/ieee754/dbl-64/mpexp.c | |
parent | b76eb5f076d362cdfbb95f0986285a8661e4082f (diff) | |
download | glibc-31a7fe5ca943b8bd76357c9c013211f8c17db833.tar.gz glibc-31a7fe5ca943b8bd76357c9c013211f8c17db833.tar.xz glibc-31a7fe5ca943b8bd76357c9c013211f8c17db833.zip |
Remove redundant __mpexp_nn
It's an array that stores integral float values of the offset.
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 2762ba91fb..c5a0283bdd 100644 --- a/sysdeps/ieee754/dbl-64/mpexp.c +++ b/sysdeps/ieee754/dbl-64/mpexp.c @@ -81,12 +81,12 @@ __mpexp(mp_no *x, mp_no *y, int p) { __mul(x,&mpt1,&mps,p); /* Evaluate the polynomial. Put result in mpt2 */ - mpk.e = 1; mpk.d[0] = ONE; mpk.d[1]=__mpexp_nn[n].d; + mpk.e = 1; mpk.d[0] = ONE; mpk.d[1]=n; __dvd(&mps,&mpk,&mpt1,p); __add(&mpone,&mpt1,&mpak,p); for (k=n-1; k>1; k--) { __mul(&mps,&mpak,&mpt1,p); - mpk.d[1]=__mpexp_nn[k].d; + mpk.d[1] = k; __dvd(&mpt1,&mpk,&mpt2,p); __add(&mpone,&mpt2,&mpak,p); } |