summaryrefslogtreecommitdiff
path: root/src/div_2si.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2021-04-23 01:07:07 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2021-04-23 01:07:07 +0000
commit6caef48658118fdb8b661c9679ee19bcc54865d1 (patch)
tree19fa57a9000ed9b32c2192d72a92c0c0f85dc68b /src/div_2si.c
parent2b410ca84bc1cae337c0c8f8a39e28a1fc20747a (diff)
downloadmpfr-6caef48658118fdb8b661c9679ee19bcc54865d1.tar.gz
Fixed bug in mpfr_get_str_ndigits.
* src/get_str.c: use MPFR_SAVE_EXPO_MARK / MPFR_SAVE_EXPO_FREE to fix 2 issues in mpfr_get_str_ndigits: the inexact flag could be raised (bug reported by Pierre Chatelier[*]); undefined behavior in a very reduced exponent range. * tests/tget_str.c: check the above issues in the tests. [*] https://sympa.inria.fr/sympa/arc/mpfr/2021-04/msg00000.html git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14488 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/div_2si.c')
0 files changed, 0 insertions, 0 deletions