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/acos.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/acos.3')
-rw-r--r-- | lib/libm/man/acos.3 | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/libm/man/acos.3 b/lib/libm/man/acos.3 index 241fe62fd1f..795c3b61ab0 100644 --- a/lib/libm/man/acos.3 +++ b/lib/libm/man/acos.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)acos.3 5.1 (Berkeley) 5/2/91 -.\" $Id: acos.3,v 1.2 1995/10/28 00:56:45 deraadt Exp $ +.\" $Id: acos.3,v 1.3 1997/04/05 04:18:45 tholo Exp $ .\" .Dd May 2, 1991 .Dt ACOS 3 @@ -54,8 +54,13 @@ functions compute the principal value of the arc cosine of in the range .Bq 0 , \*(Pi . .Sh RETURN VALUES -Exceptional cases are handled by -.Xr matherr 3 . +If |x|>1, +.Fn acos "x" +and +.Fn acosf "x" +sets the global variable +.Va errno +to EDOM. .Sh SEE ALSO .Xr sin 3 , .Xr cos 3 , @@ -66,5 +71,4 @@ Exceptional cases are handled by .Xr sinh 3 , .Xr cosh 3 , .Xr tanh 3 , -.Xr math 3 , -.Xr matherr 3 +.Xr math 3 |