summaryrefslogtreecommitdiff
path: root/acosh.c
diff options
context:
space:
mode:
Diffstat (limited to 'acosh.c')
-rw-r--r--acosh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/acosh.c b/acosh.c
index 6953b9b37..6e626eca6 100644
--- a/acosh.c
+++ b/acosh.c
@@ -1,6 +1,6 @@
/* mpfr_acosh -- Inverse Hyperbolic Cosine of Unsigned Integer Number
-Copyright (C) 2001 Free Software Foundation.
+Copyright (C) 2001-2002 Free Software Foundation.
This file is part of the MPFR Library.
@@ -39,7 +39,7 @@ mpfr_acosh (mpfr_ptr y, mpfr_srcptr x , mp_rnd_t rnd_mode)
if (MPFR_IS_NAN(x))
{
MPFR_SET_NAN(y);
- return 1;
+ MPFR_RET_NAN;
}
comp=mpfr_cmp_ui(x,1);