summaryrefslogtreecommitdiff
path: root/tests/mpfr-test.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mpfr-test.h')
-rw-r--r--tests/mpfr-test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/mpfr-test.h b/tests/mpfr-test.h
index 10a9954d9..356f6be3f 100644
--- a/tests/mpfr-test.h
+++ b/tests/mpfr-test.h
@@ -94,6 +94,7 @@ int mpfr_cmp_str _MPFR_PROTO ((mpfr_srcptr x, const char *, int, mp_rnd_t));
#define mpfr_set_str1(x,s) mpfr_set_str(x,s,10,MPFR_RNDN)
#define mpfr_cmp0(x,y) (MPFR_ASSERTN (!MPFR_IS_NAN (x) && !MPFR_IS_NAN (y)), mpfr_cmp (x,y))
+#define mpfr_cmp_ui0(x,i) (MPFR_ASSERTN (!MPFR_IS_NAN (x)), mpfr_cmp_ui (x,i))
#if defined (__cplusplus)
}