summaryrefslogtreecommitdiff
path: root/tests/tsub.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-03-24 15:32:22 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-03-24 15:32:22 +0000
commit610e574fc2bf49bcf6a7f98f0fe6513fd24652e2 (patch)
tree45e3444b947a9a7c9eee6c36fb73fc92212ef67b /tests/tsub.c
parentb523c7635a6e15f474d67ae9ce044a907dde0b5a (diff)
downloadmpfr-610e574fc2bf49bcf6a7f98f0fe6513fd24652e2.tar.gz
[src/sub1.c] If exp_b = MPFR_EXP_MIN, an integer overflow may occur in
the "MAX (aq, bq) + 2 <= diff_exp" branch. This is possible only with UBF. Fixed this bug with an early underflow detection in the UBF case. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13806 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsub.c')
0 files changed, 0 insertions, 0 deletions