diff options
author | Tobias Burnus <burnus@net-b.de> | 2012-11-02 19:08:05 +0100 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2012-11-02 19:08:05 +0100 |
commit | 2749bf296976b55509d3c199c913d018d1680f3e (patch) | |
tree | 517894079a6a0cc1f7c00dc1e75d3ba4a68cd992 /libquadmath | |
parent | e4320d7da0bc4987254988c321b0e8d8c90d0e55 (diff) | |
download | gcc-2749bf296976b55509d3c199c913d018d1680f3e.zip gcc-2749bf296976b55509d3c199c913d018d1680f3e.tar.gz gcc-2749bf296976b55509d3c199c913d018d1680f3e.tar.bz2 |
fmaq.c (fmaq): Fix build.
2012-11-01 Tobias Burnus <burnus@net-b.de>
* math/fmaq.c (fmaq): Fix build.
From-SVN: r193100
Diffstat (limited to 'libquadmath')
-rw-r--r-- | libquadmath/ChangeLog | 4 | ||||
-rw-r--r-- | libquadmath/math/fmaq.c | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index f1b4ce9..97ae46e 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,4 +1,8 @@ 2012-11-01 Tobias Burnus <burnus@net-b.de> + + * math/fmaq.c (fmaq): Fix build. + +2012-11-01 Tobias Burnus <burnus@net-b.de> Joseph Myers <joseph@codesourcery.com> * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases diff --git a/libquadmath/math/fmaq.c b/libquadmath/math/fmaq.c index e5a9d37..1136ae3 100644 --- a/libquadmath/math/fmaq.c +++ b/libquadmath/math/fmaq.c @@ -77,7 +77,7 @@ fmaq (__float128 x, __float128 y, __float128 z) result nor whether there is underflow depends on its exact value, only on its sign. */ if (u.ieee.exponent + v.ieee.exponent - < IEEE854_FLT128_DOUBLE_BIAS - FLT128_MANT_DIG - 2) + < IEEE854_FLOAT128_BIAS - FLT128_MANT_DIG - 2) { int neg = u.ieee.negative ^ v.ieee.negative; __float128 tiny = neg ? -0x1p-16494L : 0x1p-16494L; @@ -94,10 +94,8 @@ fmaq (__float128 x, __float128 y, __float128 z) : (w.ieee.exponent == 0 || (w.ieee.exponent == 1 && w.ieee.negative != neg - && w.ieee.mantissa3 == 0 - && w.ieee.mantissa2 == 0 - && w.ieee.mantissa1 == 0 - && w.ieee.mantissa0 == 0))) + && w.ieee.mant_low == 0 + && w.ieee.mant_high == 0))) { volatile __float128 force_underflow = x * y; (void) force_underflow; |