diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-01-04 22:52:12 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-01-04 22:52:12 +0530 |
commit | fffb407f4668b40b3df1eb8ee3ae3bc64ee79e20 (patch) | |
tree | 306b45f55ca01d9f7d86a6751a01ca6d64009e7e /sysdeps/ieee754/dbl-64/mpa.c | |
parent | b18decba11693f53a91c527cbbcef73aac7dd3e6 (diff) | |
download | glibc-fffb407f4668b40b3df1eb8ee3ae3bc64ee79e20.tar.gz glibc-fffb407f4668b40b3df1eb8ee3ae3bc64ee79e20.tar.xz glibc-fffb407f4668b40b3df1eb8ee3ae3bc64ee79e20.zip |
Remove unused __cr and __cpymn
Diffstat (limited to 'sysdeps/ieee754/dbl-64/mpa.c')
-rw-r--r-- | sysdeps/ieee754/dbl-64/mpa.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/sysdeps/ieee754/dbl-64/mpa.c b/sysdeps/ieee754/dbl-64/mpa.c index 0db13865fd..b0571f9f93 100644 --- a/sysdeps/ieee754/dbl-64/mpa.c +++ b/sysdeps/ieee754/dbl-64/mpa.c @@ -93,21 +93,6 @@ __acr(const mp_no *x, const mp_no *y, int p) { #endif -#if 0 -/* cr() compares the values of two multiple precision numbers */ -static int __cr(const mp_no *x, const mp_no *y, int p) { - int i; - - if (X[0] > Y[0]) i= 1; - else if (X[0] < Y[0]) i=-1; - else if (X[0] < ZERO ) i= __acr(y,x,p); - else i= __acr(x,y,p); - - return i; -} -#endif - - #ifndef NO___CPY /* Copy a multiple precision number. Set *y=*x. x=y is permissible. */ void __cpy(const mp_no *x, mp_no *y, int p) { @@ -117,24 +102,6 @@ void __cpy(const mp_no *x, mp_no *y, int p) { #endif -#if 0 -/* Copy a multiple precision number x of precision m into a */ -/* multiple precision number y of precision n. In case n>m, */ -/* the digits of y beyond the m'th are set to zero. In case */ -/* n<m, the digits of x beyond the n'th are ignored. */ -/* x=y is permissible. */ - -static void __cpymn(const mp_no *x, int m, mp_no *y, int n) { - - int i,k; - - EY = EX; k=MIN(m,n); - for (i=0; i <= k; i++) Y[i] = X[i]; - for ( ; i <= n; i++) Y[i] = ZERO; -} -#endif - - #ifndef NO___MP_DBL /* Convert a multiple precision number *x into a double precision */ /* number *y, normalized case (|x| >= 2**(-1022))) */ |