diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-10-12 12:18:55 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-10-12 12:18:55 +0000 |
commit | 8399acaf7c5cb2252117ad1d65e468f688b84fc0 (patch) | |
tree | 492adfe232efb5737972eb3c65f8f547b0a3072a /ChangeLog | |
parent | 99fd9f47effcd18489528e895c08b58ed24d6505 (diff) | |
download | glibc-8399acaf7c5cb2252117ad1d65e468f688b84fc0.tar glibc-8399acaf7c5cb2252117ad1d65e468f688b84fc0.tar.gz glibc-8399acaf7c5cb2252117ad1d65e468f688b84fc0.tar.bz2 glibc-8399acaf7c5cb2252117ad1d65e468f688b84fc0.zip |
soft-fp: fix _FP_DIV_MEAT_* returning results with wrong exponent (bug 16032).
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,16 @@ 2013-10-12 Joseph Myers <joseph@codesourcery.com> + [BZ #16032] + * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right + without decrementing exponent if mantissa >= that for the + denominator, not >. + (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the + denominator, not >. Decrement exponent in < case instead of + incrementing in >= case. + * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right + without decrementing exponent if mantissa >= that for the + denominator, not >. + * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for computing saturated result for unsigned overflow. |