diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-12-28 09:40:10 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-12-28 09:40:10 +0530 |
commit | 99136f82027a5d6276c94a25d8392a7b571a08a3 (patch) | |
tree | beecdcf8fbbe006aa512fb0a6eab478535d5dcb9 /sysdeps/ieee754/dbl-64/mpatan.h | |
parent | 7fffbdfff7d39cec0783e5b9381fa4093484c235 (diff) | |
download | glibc-99136f82027a5d6276c94a25d8392a7b571a08a3.tar.gz |
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.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/sysdeps/ieee754/dbl-64/mpatan.h b/sysdeps/ieee754/dbl-64/mpatan.h index c56b9b5fc1..f920cc22d9 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 |