diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-04-20 09:32:20 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-04-20 09:32:20 +0000 |
commit | 97724b73df1ca86917d114df64da54152cdfef5e (patch) | |
tree | a659ff4f04469673cc9af66b0fe3dbb6fd4e4759 /isinf.c | |
parent | 2b1f5a024237b70c0bde10a682d67ec279479f91 (diff) | |
download | mpfr-97724b73df1ca86917d114df64da54152cdfef5e.tar.gz |
Add mpfr_zero_p.
Add macros for mpfr_inf_p, mpfr_nan_p and mpfr_zero_p.
Add macro for mpfr_sgn.
Update doc.
Add new tests.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2871 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'isinf.c')
-rw-r--r-- | isinf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,7 +22,7 @@ MA 02111-1307, USA. */ #include "mpfr-impl.h" int -mpfr_inf_p (mpfr_srcptr x) +(mpfr_inf_p) (mpfr_srcptr x) { - return !MPFR_IS_NAN(x) && MPFR_IS_INF(x); + return MPFR_IS_INF(x); } |