summaryrefslogtreecommitdiff
path: root/tests/thyperbolic.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2003-10-27 13:06:22 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2003-10-27 13:06:22 +0000
commita7f45009dff2e3d0e8698b44e45f5cacacb82cdd (patch)
treeb831dfa0d7bd58a5785129067e533651c2534648 /tests/thyperbolic.c
parent6f66a41d3cfa8a33c18c55342093ac2f47bf9961 (diff)
downloadmpfr-a7f45009dff2e3d0e8698b44e45f5cacacb82cdd.tar.gz
Another fix, for acosh(-INF).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2522 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/thyperbolic.c')
-rw-r--r--tests/thyperbolic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/thyperbolic.c b/tests/thyperbolic.c
index 22a72a9a3..29ea98d28 100644
--- a/tests/thyperbolic.c
+++ b/tests/thyperbolic.c
@@ -319,7 +319,7 @@ check_INF (void)
/******acosh********/
tester=mpfr_acosh(ach,t,GMP_RNDD);
- if (!MPFR_IS_INF(ach) || MPFR_SIGN(ach) < 0 || tester!=0)
+ if (!MPFR_IS_NAN(ach) || tester!=0)
{
printf("acosh(-INF) \n");
fail = 1;