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 /soft-fp/op-4.h | |
parent | 99fd9f47effcd18489528e895c08b58ed24d6505 (diff) | |
download | glibc-8399acaf7c5cb2252117ad1d65e468f688b84fc0.tar.gz glibc-8399acaf7c5cb2252117ad1d65e468f688b84fc0.tar.xz glibc-8399acaf7c5cb2252117ad1d65e468f688b84fc0.zip |
soft-fp: fix _FP_DIV_MEAT_* returning results with wrong exponent (bug 16032).
Diffstat (limited to 'soft-fp/op-4.h')
-rw-r--r-- | soft-fp/op-4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/soft-fp/op-4.h b/soft-fp/op-4.h index 7fccbd52be..9086ba71c4 100644 --- a/soft-fp/op-4.h +++ b/soft-fp/op-4.h @@ -381,7 +381,7 @@ int _i; \ _FP_FRAC_DECL_4(_n); _FP_FRAC_DECL_4(_m); \ _FP_FRAC_SET_4(_n, _FP_ZEROFRAC_4); \ - if (_FP_FRAC_GT_4(X, Y)) \ + if (_FP_FRAC_GE_4(X, Y)) \ { \ _n_f[3] = X##_f[0] << (_FP_W_TYPE_SIZE - 1); \ _FP_FRAC_SRL_4(X, 1); \ |