diff options
Diffstat (limited to 'Build/source/libs/mpfr/mpfr-src/src/uceil_exp2.c')
-rw-r--r-- | Build/source/libs/mpfr/mpfr-src/src/uceil_exp2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/libs/mpfr/mpfr-src/src/uceil_exp2.c b/Build/source/libs/mpfr/mpfr-src/src/uceil_exp2.c index b81181a53c4..c68147f5783 100644 --- a/Build/source/libs/mpfr/mpfr-src/src/uceil_exp2.c +++ b/Build/source/libs/mpfr/mpfr-src/src/uceil_exp2.c @@ -29,8 +29,8 @@ double __gmpfr_ceil_exp2 (double d) { long exp; -#if _GMP_IEEE_FLOATS - union ieee_double_extract x; +#if _MPFR_IEEE_FLOATS + union mpfr_ieee_double_extract x; #else struct {double d;} x; #endif @@ -41,7 +41,7 @@ __gmpfr_ceil_exp2 (double d) exp++; /* now exp = ceil(d) */ x.d = 1.0; -#if _GMP_IEEE_FLOATS +#if _MPFR_IEEE_FLOATS x.s.exp = exp <= -1022 ? 1 : 1023 + exp; #else if (exp >= 0) @@ -60,6 +60,6 @@ __gmpfr_ceil_exp2 (double d) exp++; } } -#endif +#endif /* _MPFR_IEEE_FLOATS */ return x.d; } |