diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-03-09 09:51:08 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-03-09 09:51:08 +0000 |
commit | f1605a63b9b51063d4e89b5399c3e3382ab026c9 (patch) | |
tree | 305b4cf1c235c2be44f215d881e328e369c1a9bc /cmp_si.c | |
parent | 5dce657e375bbe594bd721abefa121ebb29550d9 (diff) | |
download | mpfr-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |