summaryrefslogtreecommitdiff
path: root/fma.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-06-29 13:32:20 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-06-29 13:32:20 +0000
commitbf5c19ddb1ecb7309662565f1d02d4215eaf7f86 (patch)
tree21c2b85097256910431e953096df87229366091d /fma.c
parentca397a5adef07befd175fe45c4f0a4ff4c4fbb6e (diff)
downloadmpfr-bf5c19ddb1ecb7309662565f1d02d4215eaf7f86.tar.gz
fma.c: added an assertion.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4589 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'fma.c')
-rw-r--r--fma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fma.c b/fma.c
index ab71f8f18..07e9b086b 100644
--- a/fma.c
+++ b/fma.c
@@ -180,6 +180,7 @@ mpfr_fma (mpfr_ptr s, mpfr_srcptr x, mpfr_srcptr y, mpfr_srcptr z,
int inex2;
mpfr_clears (zo4, u, (void *) 0);
+ MPFR_ASSERTN (! mpfr_overflow_p ());
inex2 = mpfr_mul_2ui (s, s, 2, rnd_mode);
if (inex2) /* overflow */
{