summaryrefslogtreecommitdiff
path: root/src/hypot.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2016-06-24 20:28:29 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2016-06-24 20:28:29 +0000
commite8c765eb536d4a6ae8fd2c144f35cf79f53fa0ef (patch)
treed25eeca5a03cc22f9775f57d7e44fbdc47a4aa8a /src/hypot.c
parent4593a0945e12175cf994589a7e26f39f7483cf07 (diff)
downloadmpfr-e8c765eb536d4a6ae8fd2c144f35cf79f53fa0ef.tar.gz
fixed reuse with --enable-assert
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@10516 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/hypot.c')
-rw-r--r--src/hypot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hypot.c b/src/hypot.c
index b53f706e2..c30e90f26 100644
--- a/src/hypot.c
+++ b/src/hypot.c
@@ -188,7 +188,7 @@ mpfr_hypot (mpfr_ptr z, mpfr_srcptr x, mpfr_srcptr y, mpfr_rnd_t rnd_mode)
MPFR_ZIV_FREE (loop);
MPFR_BLOCK (flags, inexact = mpfr_div_2si (z, t, sh, rnd_mode));
- MPFR_ASSERTD (exact == 0 || inexact != 0);
+ MPFR_ASSERTD (exact == 0 || inexact != 0 || rnd_mode == MPFR_RNDF);
mpfr_clear (t);
mpfr_clear (ti);