summaryrefslogtreecommitdiff
path: root/cmp_si.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-03-09 09:51:08 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-03-09 09:51:08 +0000
commitf1605a63b9b51063d4e89b5399c3e3382ab026c9 (patch)
tree305b4cf1c235c2be44f215d881e328e369c1a9bc /cmp_si.c
parent5dce657e375bbe594bd721abefa121ebb29550d9 (diff)
downloadmpfr-f1605a63b9b51063d4e89b5399c3e3382ab026c9.tar.gz
Add ASSERT for NAN.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2820 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'cmp_si.c')
-rw-r--r--cmp_si.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmp_si.c b/cmp_si.c
index c3b405e4f..fd5810efc 100644
--- a/cmp_si.c
+++ b/cmp_si.c
@@ -34,7 +34,7 @@ mpfr_cmp_si_2exp (mpfr_srcptr b, long int i, mp_exp_t f)
{
int si;
- MPFR_ASSERTN(!MPFR_IS_NAN(b));
+ MPFR_ASSERTD(!MPFR_IS_NAN(b));
si = i < 0 ? -1 : 1; /* sign of i */
if (MPFR_IS_INF(b) || (MPFR_NOTZERO(b) && MPFR_SIGN(b) != si))