about summary refs log tree commit diff
path: root/sysdeps/ieee754/dbl-64/mpatan2.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2012-12-27 20:43:24 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2012-12-27 20:43:24 +0530
commitb76eb5f076d362cdfbb95f0986285a8661e4082f (patch)
tree86db1db19c800043d2a2061e2fe4f6ea21666527 /sysdeps/ieee754/dbl-64/mpatan2.c
parent8ebac7785b6ac0e412075d832af2ede21153148a (diff)
downloadglibc-b76eb5f076d362cdfbb95f0986285a8661e4082f.tar.gz
glibc-b76eb5f076d362cdfbb95f0986285a8661e4082f.tar.xz
glibc-b76eb5f076d362cdfbb95f0986285a8661e4082f.zip
Move mpone out to a global const
Code cleanup.
Diffstat (limited to 'sysdeps/ieee754/dbl-64/mpatan2.c')
-rw-r--r--sysdeps/ieee754/dbl-64/mpatan2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/ieee754/dbl-64/mpatan2.c b/sysdeps/ieee754/dbl-64/mpatan2.c
index e9c9745265..42cb6a7991 100644
--- a/sysdeps/ieee754/dbl-64/mpatan2.c
+++ b/sysdeps/ieee754/dbl-64/mpatan2.c
@@ -51,14 +51,10 @@ __mpatan2(mp_no *y, mp_no *x, mp_no *z, int p) {
 
   static const double ZERO = 0.0, ONE = 1.0;
 
-  mp_no mpone = {0,{0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,
-		    0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,
-		    0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}};
   mp_no mpt1,mpt2,mpt3;
 
 
   if (X[0] <= ZERO) {
-    mpone.e = 1;                 mpone.d[0] = mpone.d[1] = ONE;
     __dvd(x,y,&mpt1,p);          __mul(&mpt1,&mpt1,&mpt2,p);
     if (mpt1.d[0] != ZERO)       mpt1.d[0] = ONE;
     __add(&mpt2,&mpone,&mpt3,p); __mpsqrt(&mpt3,&mpt2,p);