about summary refs log tree commit diff
path: root/sysdeps/ieee754/dbl-64/mpatan.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2012-12-28 19:02:01 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2012-12-28 19:02:01 +0530
commitd63f73be346f4f3d4634a0b21ed211fbf0eb6f0a (patch)
tree000dd1bac6f4369998640fc9b694ecf9f347bb5b /sysdeps/ieee754/dbl-64/mpatan.c
parent6d9f97e1f2b60fe6ca33e0e75e8048c35a39df0e (diff)
downloadglibc-d63f73be346f4f3d4634a0b21ed211fbf0eb6f0a.tar.gz
glibc-d63f73be346f4f3d4634a0b21ed211fbf0eb6f0a.tar.xz
glibc-d63f73be346f4f3d4634a0b21ed211fbf0eb6f0a.zip
Remove unnecessary variable mptwoim1
Code cleanup.
Diffstat (limited to 'sysdeps/ieee754/dbl-64/mpatan.c')
-rw-r--r--sysdeps/ieee754/dbl-64/mpatan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/dbl-64/mpatan.c b/sysdeps/ieee754/dbl-64/mpatan.c
index d897bbbc46..b2bf3ba2ca 100644
--- a/sysdeps/ieee754/dbl-64/mpatan.c
+++ b/sysdeps/ieee754/dbl-64/mpatan.c
@@ -1,7 +1,7 @@
 /*
  * IBM Accurate Mathematical Library
  * written by International Business Machines Corp.
- * Copyright (C) 2001, 2011 Free Software Foundation
+ * Copyright (C) 2001-2012 Free Software Foundation
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -98,7 +98,7 @@ __mpatan(mp_no *x, mp_no *y, int p) {
     __sub(&mps,&mpt1,&mpt,p);
 
 			  /* Compute Atan(x) */
-    mptwoim1.d[1] = __atan_twom[m].d;
+    mptwoim1.d[1] = 1 << m;
     __mul(&mptwoim1,&mpt,y,p);
 
   return;