summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/dbl-64/mpa.h
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-03-29 16:37:26 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-03-29 16:37:26 +0530
commita64d7e0efb34bde344bc1d4d17646a8ae6b6d588 (patch)
tree7b8fd9b40f7589d920cef1fabe6e80cf84af037f /sysdeps/ieee754/dbl-64/mpa.h
parentd26dd3eb006e813d5f81bd7a5f02d70d480de8c4 (diff)
downloadglibc-a64d7e0efb34bde344bc1d4d17646a8ae6b6d588.tar.gz
Remove ZERO and MZERO macros
Diffstat (limited to 'sysdeps/ieee754/dbl-64/mpa.h')
-rw-r--r--sysdeps/ieee754/dbl-64/mpa.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/ieee754/dbl-64/mpa.h b/sysdeps/ieee754/dbl-64/mpa.h
index 54044a0586..27bc7dcb5d 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 ZERO 0.0 /* 0 */
-#define MZERO -0.0 /* 0 with the sign bit set */
#define ONE 1.0 /* 1 */
#define MONE -1.0 /* -1 */
#define TWO 2.0 /* 2 */
@@ -155,7 +153,7 @@ __pow_mp (int pow, mp_no *y, int p)
Y[0] = ONE;
Y[1] = 1 << rem;
- /* Everything else is ZERO. */
+ /* Everything else is 0. */
for (i = 2; i <= p; i++)
- Y[i] = ZERO;
+ Y[i] = 0;
}