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/mpa.c | |
parent | 7fffbdfff7d39cec0783e5b9381fa4093484c235 (diff) | |
download | glibc-99136f82027a5d6276c94a25d8392a7b571a08a3.tar.gz glibc-99136f82027a5d6276c94a25d8392a7b571a08a3.tar.xz glibc-99136f82027a5d6276c94a25d8392a7b571a08a3.zip |
Replace constants with preprocessor defines
libm Code cleanup.
Diffstat (limited to 'sysdeps/ieee754/dbl-64/mpa.c')
-rw-r--r-- | sysdeps/ieee754/dbl-64/mpa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/dbl-64/mpa.c b/sysdeps/ieee754/dbl-64/mpa.c index b5d25ed2a2..cf4f6f7c53 100644 --- a/sysdeps/ieee754/dbl-64/mpa.c +++ b/sysdeps/ieee754/dbl-64/mpa.c @@ -139,7 +139,7 @@ static void __cpymn(const mp_no *x, int m, mp_no *y, int n) { /* number *y, normalized case (|x| >= 2**(-1022))) */ static void norm(const mp_no *x, double *y, int p) { - #define R radixi.d + #define R RADIXI int i; #if 0 int k; @@ -199,7 +199,7 @@ static void denorm(const mp_no *x, double *y, int p) double a,v; #endif -#define R radixi.d +#define R RADIXI if (EX<-44 || (EX==-44 && X[1]<TWO5)) { *y=ZERO; return; } |