aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/dbl-64/mpatan.h
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2012-12-28 09:40:10 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2012-12-28 09:40:10 +0530
commit99136f82027a5d6276c94a25d8392a7b571a08a3 (patch)
treebeecdcf8fbbe006aa512fb0a6eab478535d5dcb9 /sysdeps/ieee754/dbl-64/mpatan.h
parent7fffbdfff7d39cec0783e5b9381fa4093484c235 (diff)
downloadglibc-99136f82027a5d6276c94a25d8392a7b571a08a3.zip
glibc-99136f82027a5d6276c94a25d8392a7b571a08a3.tar.gz
glibc-99136f82027a5d6276c94a25d8392a7b571a08a3.tar.bz2
Replace constants with preprocessor defines
libm Code cleanup.
Diffstat (limited to 'sysdeps/ieee754/dbl-64/mpatan.h')
-rw-r--r--sysdeps/ieee754/dbl-64/mpatan.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/sysdeps/ieee754/dbl-64/mpatan.h b/sysdeps/ieee754/dbl-64/mpatan.h
index c56b9b5..f920cc2 100644
--- a/sysdeps/ieee754/dbl-64/mpatan.h
+++ b/sysdeps/ieee754/dbl-64/mpatan.h
@@ -30,8 +30,6 @@
extern const number __atan_xm[8] attribute_hidden;
extern const number __atan_twonm1[33] attribute_hidden;
extern const number __atan_twom[8] attribute_hidden;
-extern const number __atan_one attribute_hidden;
-extern const number __atan_two attribute_hidden;
extern const int __atan_np[33] attribute_hidden;
@@ -97,10 +95,6 @@ extern const int __atan_np[33] attribute_hidden;
/**/ {{0x40600000, 0x00000000} }, /* 128.0 */
};
- const number
-/**/ __atan_one = {{0x3ff00000, 0x00000000} }, /* 1 */
-/**/ __atan_two = {{0x40000000, 0x00000000} }; /* 2 */
-
#else
#ifdef LITTLE_ENDI
@@ -164,10 +158,6 @@ __atan_twonm1[33] = { /* 2n-1 */
/**/ {{0x00000000, 0x40600000} }, /* 128.0 */
};
- const number
-/**/ __atan_one = {{0x00000000, 0x3ff00000} }, /* 1 */
-/**/ __atan_two = {{0x00000000, 0x40000000} }; /* 2 */
-
#endif
#endif
@@ -178,5 +168,5 @@ __atan_twonm1[33] = { /* 2n-1 */
#endif
#endif
-#define ONE __atan_one.d
-#define TWO __atan_two.d
+#define ONE 1.0
+#define TWO 2.0