aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-01-04 15:30:34 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-01-04 15:30:34 +0530
commitb78372645917b0ecca880c542ef6027ccd74ba28 (patch)
treea815fd5923d22e5d87026acb869c089b9300843f
parentf8af25d218202ff2f5d167b8e44e4b79f91d147f (diff)
downloadglibc-b78372645917b0ecca880c542ef6027ccd74ba28.zip
glibc-b78372645917b0ecca880c542ef6027ccd74ba28.tar.gz
glibc-b78372645917b0ecca880c542ef6027ccd74ba28.tar.bz2
Remove some commented code
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/ieee754/dbl-64/mpa.c13
2 files changed, 6 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ae2d4b..3309f20 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
+ * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
+ declarations.
+ (denorm): Likewise.
+ (__mp_dbl): Likewise.
+ (__inv): Likewise.
+
* sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
and adjust the header comment.
diff --git a/sysdeps/ieee754/dbl-64/mpa.c b/sysdeps/ieee754/dbl-64/mpa.c
index b5cc06d..0db1386 100644
--- a/sysdeps/ieee754/dbl-64/mpa.c
+++ b/sysdeps/ieee754/dbl-64/mpa.c
@@ -142,9 +142,6 @@ static void norm(const mp_no *x, double *y, int p)
{
#define R RADIXI
int i;
-#if 0
- int k;
-#endif
double a,c,u,v,z[5];
if (p<5) {
if (p==1) c = X[1];
@@ -196,9 +193,6 @@ static void denorm(const mp_no *x, double *y, int p)
{
int i,k;
double c,u,z[5];
-#if 0
- double a,v;
-#endif
#define R RADIXI
if (EX<-44 || (EX==-44 && X[1]<TWO5))
@@ -241,10 +235,6 @@ static void denorm(const mp_no *x, double *y, int p)
/* The result is correctly rounded to the nearest/even. *x is left unchanged */
void __mp_dbl(const mp_no *x, double *y, int p) {
-#if 0
- int i,k;
- double a,c,u,v,z[5];
-#endif
if (X[0] == ZERO) {*y = ZERO; return; }
@@ -507,9 +497,6 @@ static
SECTION
void __inv(const mp_no *x, mp_no *y, int p) {
int i;
-#if 0
- int l;
-#endif
double t;
mp_no z,w;
static const int np1[] = {0,0,0,0,1,2,2,2,2,3,3,3,3,3,3,3,3,3,