summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2021-02-15 18:31:17 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2021-02-15 18:31:17 +0000
commitf85609cb0e9e16a9c1e7eb04adde1a8b3f9dfda3 (patch)
tree5e0906e4315c8066d062f1f6fd3b1c31efb753b8 /tests
parent13d3411d97943b62275ae50cf9790ef2c4b7ea63 (diff)
downloadmpfr-f85609cb0e9e16a9c1e7eb04adde1a8b3f9dfda3.tar.gz
[tests/tdigamma.c] Use mpfr_cmp_ui0 to detect NaN.
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14433 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r--tests/tdigamma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tdigamma.c b/tests/tdigamma.c
index c24537ee4..4c9fbd5c7 100644
--- a/tests/tdigamma.c
+++ b/tests/tdigamma.c
@@ -123,7 +123,7 @@ bug20210215 (void)
mpfr_set_str (x, "-8.2923051438433494998166335341807999322052669984208422481227138906096000469898717007386115912802685588348601663465077353194268894939972221117314512518182580e+35", 10, MPFR_RNDN);
mpfr_clear_flags ();
inex = mpfr_digamma (y, x, MPFR_RNDU);
- MPFR_ASSERTN (mpfr_cmp_ui (y, 88) == 0);
+ MPFR_ASSERTN (mpfr_cmp_ui0 (y, 88) == 0);
MPFR_ASSERTN (inex > 0);
MPFR_ASSERTN (__gmpfr_flags == MPFR_FLAGS_INEXACT);
mpfr_clear (x);