summaryrefslogtreecommitdiff
path: root/exp2.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2003-11-05 16:18:16 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2003-11-05 16:18:16 +0000
commitd406c7c3f07cacb170533149e9319c334062792b (patch)
treeda17b87f0205cc16561cf4d73f95ffc893e0385d /exp2.c
parent3e4ced245d9e603cfc806e64ab56b9b2b7223287 (diff)
downloadmpfr-d406c7c3f07cacb170533149e9319c334062792b.tar.gz
Fix some bugs (Use MPFR_ASSERT(1) instead of MPFR_ASSERT(0))
Optimize swap.c and copysign.c. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2536 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'exp2.c')
-rw-r--r--exp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exp2.c b/exp2.c
index 62b1e83af..dea132a01 100644
--- a/exp2.c
+++ b/exp2.c
@@ -56,7 +56,7 @@ mpfr_exp2 (mpfr_ptr y, mpfr_srcptr x, mp_rnd_t rnd_mode)
else if (MPFR_IS_ZERO(x))
return mpfr_set_ui (y, 1, rnd_mode);
else
- MPFR_ASSERTN(1);
+ MPFR_ASSERTN(0);
}
/* Useless due to mpfr_set
MPFR_CLEAR_FLAGS(y);*/