summaryrefslogtreecommitdiff
path: root/isnan.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-04-20 09:32:20 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-04-20 09:32:20 +0000
commit97724b73df1ca86917d114df64da54152cdfef5e (patch)
treea659ff4f04469673cc9af66b0fe3dbb6fd4e4759 /isnan.c
parent2b1f5a024237b70c0bde10a682d67ec279479f91 (diff)
downloadmpfr-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 'isnan.c')
-rw-r--r--isnan.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/isnan.c b/isnan.c
index 486a4bfe1..26c5ccb4f 100644
--- a/isnan.c
+++ b/isnan.c
@@ -19,11 +19,10 @@ along with the MPFR Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
-
#include "mpfr-impl.h"
int
-mpfr_nan_p (mpfr_srcptr x)
+(mpfr_nan_p) (mpfr_srcptr x)
{
return MPFR_IS_NAN (x);
}