summaryrefslogtreecommitdiff
path: root/lib/libm/man/asin.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/asin.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/asin.3')
-rw-r--r--lib/libm/man/asin.314
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/libm/man/asin.3 b/lib/libm/man/asin.3
index a940770ea82..cacb3506e71 100644
--- a/lib/libm/man/asin.3
+++ b/lib/libm/man/asin.3
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)asin.3 5.1 (Berkeley) 5/2/91
-.\" $Id: asin.3,v 1.2 1995/10/28 00:56:46 deraadt Exp $
+.\" $Id: asin.3,v 1.3 1997/04/05 04:18:46 tholo Exp $
.\"
.Dd May 2, 1991
.Dt ASIN 3
@@ -56,8 +56,13 @@ in the range
.Bq -\*(Pi/2, +\*(Pi/2 .
.Ek
.Sh RETURN VALUES
-Exceptional cases are handled by
-.Xr matherr 3 .
+If |x|>1,
+.Fn asin "x"
+and
+.Fn asinf "x"
+returns NaN and sets the global variable
+.Va errno
+to EDOM.
.Sh SEE ALSO
.Xr acos 3 ,
.Xr atan 3 ,
@@ -68,5 +73,4 @@ Exceptional cases are handled by
.Xr sinh 3 ,
.Xr tan 3 ,
.Xr tanh 3 ,
-.Xr math 3 ,
-.Xr matherr 3
+.Xr math 3