diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-09-24 09:36:10 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-09-24 09:36:10 +0000 |
commit | 929c25ec692ee90f4d7a3c74af2344c09e774cc9 (patch) | |
tree | 93988ed79a9efe6a6b16da4694d25206d8f12398 /src/gmp_op.c | |
parent | f4a003272e225fcbc388d9e6391c4659e082d109 (diff) | |
download | mpfr-929c25ec692ee90f4d7a3c74af2344c09e774cc9.tar.gz |
[src/gmp_op.c] Forgot to update the flags in some functions.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7883 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/gmp_op.c')
-rw-r--r-- | src/gmp_op.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gmp_op.c b/src/gmp_op.c index 8e2719849..307d46f20 100644 --- a/src/gmp_op.c +++ b/src/gmp_op.c @@ -57,6 +57,7 @@ foo (mpfr_ptr x, mpfr_srcptr y, mpz_srcptr z, mpfr_rnd_t r, MPFR_SAVE_EXPO_MARK (expo); init_set_z (t, z); /* There should be no exceptions. */ i = (*f) (x, y, t, r); + MPFR_SAVE_EXPO_UPDATE_FLAGS (expo, __gmpfr_flags); mpfr_clear (t); MPFR_SAVE_EXPO_FREE (expo); return mpfr_check_range (x, i, r); @@ -73,6 +74,7 @@ foo2 (mpfr_ptr x, mpz_srcptr y, mpfr_srcptr z, mpfr_rnd_t r, MPFR_SAVE_EXPO_MARK (expo); init_set_z (t, y); /* There should be no exceptions. */ i = (*f) (x, t, z, r); + MPFR_SAVE_EXPO_UPDATE_FLAGS (expo, __gmpfr_flags); mpfr_clear (t); MPFR_SAVE_EXPO_FREE (expo); return mpfr_check_range (x, i, r); |