summaryrefslogtreecommitdiffstats
path: root/lib/msun/man/acos.3
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2005-01-14 23:28:28 +0000
committerdas <das@FreeBSD.org>2005-01-14 23:28:28 +0000
commitdf8ce09fbda51b1a29af2e321a4c4feb4543aefc (patch)
tree7aa790913ac8bac811e6dd89164c064b37167b07 /lib/msun/man/acos.3
parent2fe7b09cb198e42356fd30dbc005daff0809ff0c (diff)
downloadFreeBSD-src-df8ce09fbda51b1a29af2e321a4c4feb4543aefc.zip
FreeBSD-src-df8ce09fbda51b1a29af2e321a4c4feb4543aefc.tar.gz
Remove numerous references to VAX floating-point and the setting of
errno, replacing them with a discussion of IEEE exceptions where appropriate. Cross-reference fenv(3) whenever exceptions are mentioned.
Diffstat (limited to 'lib/msun/man/acos.3')
-rw-r--r--lib/msun/man/acos.315
1 files changed, 4 insertions, 11 deletions
diff --git a/lib/msun/man/acos.3 b/lib/msun/man/acos.3
index 6004f32..a08230a 100644
--- a/lib/msun/man/acos.3
+++ b/lib/msun/man/acos.3
@@ -32,7 +32,7 @@
.\" from: @(#)acos.3 5.1 (Berkeley) 5/2/91
.\" $FreeBSD$
.\"
-.Dd May 2, 1991
+.Dd January 14, 2005
.Dt ACOS 3
.Os
.Sh NAME
@@ -66,27 +66,20 @@ and the
functions return the arc cosine in the range
.Bq 0 , \*(Pi
radians.
-On the
-.Tn VAX
-and
-.Tn Tahoe ,
-if:
+If:
.Bd -unfilled -offset indent
.Pf \&| Ns Ar x Ns \&| > 1 ,
.Ed
.Pp
.Fn acos x
-sets the global variable
-.Va errno
-to
-.Er EDOM
-and a reserved operand fault is generated.
+raises an invalid exception and returns an \*(Na.
.Sh SEE ALSO
.Xr asin 3 ,
.Xr atan 3 ,
.Xr atan2 3 ,
.Xr cos 3 ,
.Xr cosh 3 ,
+.Xr fenv 3 ,
.Xr math 3 ,
.Xr sin 3 ,
.Xr sinh 3 ,
OpenPOWER on IntegriCloud