diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-11-05 16:18:16 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-11-05 16:18:16 +0000 |
commit | d406c7c3f07cacb170533149e9319c334062792b (patch) | |
tree | da17b87f0205cc16561cf4d73f95ffc893e0385d /acosh.c | |
parent | 3e4ced245d9e603cfc806e64ab56b9b2b7223287 (diff) | |
download | mpfr-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 'acosh.c')
-rw-r--r-- | acosh.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -51,7 +51,8 @@ mpfr_acosh (mpfr_ptr y, mpfr_srcptr x , mp_rnd_t rnd_mode) MPFR_SET_POS(y); MPFR_RET(0); } - MPFR_ASSERTN(1); + else + MPFR_ASSERTN(0); } comp = mpfr_cmp_ui (x, 1); if (MPFR_UNLIKELY( comp < 0 )) |