summaryrefslogtreecommitdiff
path: root/lib/libm/man/atanh.3
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1997-04-05 04:18:51 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1997-04-05 04:18:51 +0000
commit5e39276c5d66fe715d7ea5195c3e11be47b7f5dd (patch)
treed2208bc21b7fe993d14dac3af53c323078072f76 /lib/libm/man/atanh.3
parentd5d94a2d04eabdd6255a9555e29b493fc7164cac (diff)
From NetBSD PR/3405: Krister Walfridsson <cato@ulysses.df.lth.se>: Various
typos; since we compile with POSIX libm, we should not xref matherr(3), and describe the errno settings.
Diffstat (limited to 'lib/libm/man/atanh.3')
-rw-r--r--lib/libm/man/atanh.316
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/libm/man/atanh.3 b/lib/libm/man/atanh.3
index 535252e45eb..822e2912b79 100644
--- a/lib/libm/man/atanh.3
+++ b/lib/libm/man/atanh.3
@@ -30,11 +30,11 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)atanh.3 5.2 (Berkeley) 5/6/91
-.\" $Id: atanh.3,v 1.2 1995/10/28 00:56:49 deraadt Exp $
+.\" $Id: atanh.3,v 1.3 1997/04/05 04:18:47 tholo Exp $
.\"
.Dd May 6, 1991
.Dt ATANH 3
-.Os BSD 4.3
+.Os
.Sh NAME
.Nm atanh
.Nd inverse hyperbolic tangent function
@@ -54,15 +54,19 @@ of the real
argument
.Ar x .
.Sh RETURN VALUES
-Exceptional conditions are handled by
-.Xr matherr 3 .
+If |x|>=1,
+.Fn atanh "x"
+and
+.Fn atanhf "x"
+returns +inf, -inf or NaN, and sets the global variable
+.Va errno
+to EDOM.
.Sh SEE ALSO
.Xr acosh 3 ,
.Xr asinh 3 ,
.Xr exp 3 ,
.Xr infnan 3 ,
-.Xr math 3 ,
-.Xr matherr 3
+.Xr math 3
.Sh HISTORY
The
.Fn atanh