summaryrefslogtreecommitdiff
path: root/sub1sp.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2003-12-19 11:54:48 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2003-12-19 11:54:48 +0000
commitcc7beec4dbcacef7817a27bd05374a63a11f0c30 (patch)
tree5a8588bf8d6b6e4b55ec133653b2275cd0c8bc1a /sub1sp.c
parent04746017d1c00291f2f8617350130bc2c2355872 (diff)
downloadmpfr-cc7beec4dbcacef7817a27bd05374a63a11f0c30.tar.gz
Remove one warning in mpf_compat.h
Create a new macro: MPFR_RET_NEVER_GO_HERE Modify ui_sub/div to use it to make Insure++ happy. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2583 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'sub1sp.c')
-rw-r--r--sub1sp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sub1sp.c b/sub1sp.c
index d82ef1214..500628dd5 100644
--- a/sub1sp.c
+++ b/sub1sp.c
@@ -40,7 +40,7 @@ MA 02111-1307, USA. */
#else
# define DEBUG(x) /**/
#endif
-
+
/* Rounding Sub */
/* A0...Ap-1
@@ -606,7 +606,7 @@ mpfr_sub1sp (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mp_rnd_t rnd_mode)
goto truncate;
}
}
- MPFR_ASSERTN(0);
+ MPFR_RET_NEVER_GO_HERE();
/* Sub one ulp to the result */
sub_one_ulp: