diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-04-03 11:14:39 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-04-03 15:47:01 +0530 |
commit | c871eccd1e0102402901b67c0a9a453a38c0e3f9 (patch) | |
tree | 7d0db1573d7c1ad59adad7bbbeba144036c10124 /sysdeps/ieee754 | |
parent | d755bba40f880c01ced8740a26fecc85534454b9 (diff) | |
download | glibc-c871eccd1e0102402901b67c0a9a453a38c0e3f9.tar.gz glibc-c871eccd1e0102402901b67c0a9a453a38c0e3f9.tar.xz glibc-c871eccd1e0102402901b67c0a9a453a38c0e3f9.zip |
Remove TWO
Minor cleanup to remove the macro TWO and use the value directly instead.
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r-- | sysdeps/ieee754/dbl-64/mpa.h | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/mpatan.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/ieee754/dbl-64/mpa.h b/sysdeps/ieee754/dbl-64/mpa.h index 0d8211517f..5fad584394 100644 --- a/sysdeps/ieee754/dbl-64/mpa.h +++ b/sysdeps/ieee754/dbl-64/mpa.h @@ -91,8 +91,6 @@ extern const mp_no mptwo; # define TWO52 0x1.0p52 /* 2^52 */ #endif -#define TWO 2.0 /* 2 */ - #define TWO5 TWOPOW (5) /* 2^5 */ #define TWO8 TWOPOW (8) /* 2^52 */ #define TWO10 TWOPOW (10) /* 2^10 */ diff --git a/sysdeps/ieee754/dbl-64/mpatan.c b/sysdeps/ieee754/dbl-64/mpatan.c index 33c6847d9c..807b16a9bc 100644 --- a/sysdeps/ieee754/dbl-64/mpatan.c +++ b/sysdeps/ieee754/dbl-64/mpatan.c @@ -102,7 +102,7 @@ __mpatan (mp_no *x, mp_no *y, int p) __dvd (&mpsm, &mptwoim1, &mpt, p); for (i = n - 1; i > 1; i--) { - mptwoim1.d[1] -= TWO; + mptwoim1.d[1] -= 2; __dvd (&mpsm, &mptwoim1, &mpt1, p); __mul (&mpsm, &mpt, &mpt2, p); __sub (&mpt1, &mpt2, &mpt, p); |