diff options
Diffstat (limited to 'gen_inverse.h')
-rw-r--r-- | gen_inverse.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gen_inverse.h b/gen_inverse.h index 390c3d144..6dc767da5 100644 --- a/gen_inverse.h +++ b/gen_inverse.h @@ -95,13 +95,12 @@ FUNCTION (mpfr_ptr y, mpfr_srcptr x, mp_rnd_t rnd_mode) mpfr_set_prec (z, m); } MPFR_ZIV_FREE (loop); - + inexact = mpfr_set (y, z, rnd_mode); mpfr_clear (z); - + MPFR_SAVE_EXPO_FREE (expo); end: - MPFR_RET (mpfr_check_range (y, inexact, rnd_mode)); + return mpfr_check_range (y, inexact, rnd_mode); } - |