diff options
author | 1997-04-05 04:18:45 +0000 | |
---|---|---|
committer | 1997-04-05 04:18:45 +0000 | |
commit | f0525d41b002874175dc6f513aa7edf162be3d76 (patch) | |
tree | 70e6bad3062e6ff7675722bda9bc797534e36ddc /lib/libm/man/acosh.3 | |
parent | Fix -DNO_MMALLOC (needs to be in MMALLOC_CFLAGS not MMALLOC_DISABLE). (diff) | |
download | wireguard-openbsd-f0525d41b002874175dc6f513aa7edf162be3d76.tar.xz wireguard-openbsd-f0525d41b002874175dc6f513aa7edf162be3d76.zip |
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/acosh.3')
-rw-r--r-- | lib/libm/man/acosh.3 | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/libm/man/acosh.3 b/lib/libm/man/acosh.3 index 2d6120fcdb3..d06b05a8689 100644 --- a/lib/libm/man/acosh.3 +++ b/lib/libm/man/acosh.3 @@ -30,11 +30,11 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)acosh.3 5.2 (Berkeley) 5/6/91 -.\" $Id: acosh.3,v 1.2 1995/10/28 00:56:45 deraadt Exp $ +.\" $Id: acosh.3,v 1.3 1997/04/05 04:18:45 tholo Exp $ .\" .Dd May 6, 1991 .Dt ACOSH 3 -.Os BSD 4.3 +.Os .Sh NAME .Nm acosh .Nd inverse hyperbolic cosine function @@ -54,15 +54,19 @@ of the real argument .Ar x . .Sh RETURN VALUES -Exceptional cases are handled by -.Xr matherr 3 . +If x is less than one, +.Fn acosh "x" +and +.Fn acoshf "x" +returns NaN and sets the global variable +.Va errno +to EDOM. .Sh SEE ALSO .Xr asinh 3 , .Xr atanh 3 , .Xr exp 3 , .Xr infnan 3 , -.Xr math 3 , -.Xr matherr 3 +.Xr math 3 .Sh HISTORY The .Fn acosh |