summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-02-27 04:28:59 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-02-27 04:28:59 +0000
commitf88c0dfc519b8b47e7748bdf075627b1740510d1 (patch)
tree2aa4321d652c11efe3ace746fe9d0bbc3831703a
parentd4823ae34aea9f9e668f16bcda2a89859dd9acc0 (diff)
even more cleaning (and more yet to do)
-rw-r--r--lib/libm/man/acos.34
-rw-r--r--lib/libm/man/acosh.34
-rw-r--r--lib/libm/man/asin.34
-rw-r--r--lib/libm/man/asinh.313
-rw-r--r--lib/libm/man/atan2.310
-rw-r--r--lib/libm/man/atanh.38
-rw-r--r--lib/libm/man/cos.36
-rw-r--r--lib/libm/man/cosh.34
8 files changed, 27 insertions, 26 deletions
diff --git a/lib/libm/man/acos.3 b/lib/libm/man/acos.3
index 7c21f6226d2..4189199cf43 100644
--- a/lib/libm/man/acos.3
+++ b/lib/libm/man/acos.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: acos.3,v 1.8 2003/02/27 01:07:43 jason Exp $
+.\" $OpenBSD: acos.3,v 1.9 2003/02/27 04:28:57 jason Exp $
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -61,7 +61,7 @@ If |x|>1,
.Fn acos "x"
and
.Fn acosf "x"
-sets the global variable
+set the global variable
.Va errno
to EDOM.
.Sh SEE ALSO
diff --git a/lib/libm/man/acosh.3 b/lib/libm/man/acosh.3
index 3b78f6e81cc..42cdc378e46 100644
--- a/lib/libm/man/acosh.3
+++ b/lib/libm/man/acosh.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: acosh.3,v 1.8 2003/02/27 01:07:43 jason Exp $
+.\" $OpenBSD: acosh.3,v 1.9 2003/02/27 04:28:57 jason Exp $
.\" Copyright (c) 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -61,7 +61,7 @@ If x is less than one,
.Fn acosh "x"
and
.Fn acoshf "x"
-returns NaN and sets the global variable
+return NaN and set the global variable
.Va errno
to EDOM.
.Sh SEE ALSO
diff --git a/lib/libm/man/asin.3 b/lib/libm/man/asin.3
index e384f7e6fb8..235ff600dab 100644
--- a/lib/libm/man/asin.3
+++ b/lib/libm/man/asin.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: asin.3,v 1.8 2003/02/27 01:07:43 jason Exp $
+.\" $OpenBSD: asin.3,v 1.9 2003/02/27 04:28:57 jason Exp $
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -63,7 +63,7 @@ If |x|>1,
.Fn asin "x"
and
.Fn asinf "x"
-returns NaN and sets the global variable
+return NaN and set the global variable
.Va errno
to EDOM.
.Sh SEE ALSO
diff --git a/lib/libm/man/asinh.3 b/lib/libm/man/asinh.3
index 9ceca282679..ae0755744a8 100644
--- a/lib/libm/man/asinh.3
+++ b/lib/libm/man/asinh.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: asinh.3,v 1.8 2003/02/27 01:07:43 jason Exp $
+.\" $OpenBSD: asinh.3,v 1.9 2003/02/27 04:28:57 jason Exp $
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -49,8 +49,11 @@
The
.Fn asinh
function computes the inverse hyperbolic sine
-of the real
-argument
+of the real argument.
+The
+.Fn asinhf
+function is a single precision version of
+.Fn asinh .
.Sh RETURN VALUES
The
.Fn asinh
@@ -58,10 +61,6 @@ and
.Fn asinhf
functions return the inverse hyperbolic sine of
.Ar x .
-The
-.Fn asinhf
-function is a single precision version of
-.Fn asinh .
.Sh SEE ALSO
.Xr acosh 3 ,
.Xr atanh 3 ,
diff --git a/lib/libm/man/atan2.3 b/lib/libm/man/atan2.3
index f275eaa8f79..97997032b9d 100644
--- a/lib/libm/man/atan2.3
+++ b/lib/libm/man/atan2.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: atan2.3,v 1.7 2003/02/27 01:07:43 jason Exp $
+.\" $OpenBSD: atan2.3,v 1.8 2003/02/27 04:28:57 jason Exp $
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -58,9 +58,11 @@ function is a single precision version of
.Fn atan2 .
.Sh RETURN VALUES
The
-.Xr atan2
-function, if successful,
-returns the arc tangent of
+.Fn atan2
+and
+.Fn atan2f
+functions, if successful,
+return the arc tangent of
.Ar y/ Ns Ar x
in the range
.Bk -words
diff --git a/lib/libm/man/atanh.3 b/lib/libm/man/atanh.3
index 70f15557188..c37a75967b4 100644
--- a/lib/libm/man/atanh.3
+++ b/lib/libm/man/atanh.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: atanh.3,v 1.8 2003/02/27 01:07:43 jason Exp $
+.\" $OpenBSD: atanh.3,v 1.9 2003/02/27 04:28:57 jason Exp $
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -48,9 +48,7 @@
.Sh DESCRIPTION
The
.Fn atanh
-and
-.Fn atanhf
-functions compute the inverse hyperbolic tangent
+function computes the inverse hyperbolic tangent
of the real
argument
.Ar x .
@@ -63,7 +61,7 @@ If |x|>=1,
.Fn atanh "x"
and
.Fn atanhf "x"
-return +inf, -inf or NaN, and sets the global variable
+return +inf, -inf or NaN, and set the global variable
.Va errno
to EDOM.
.Sh SEE ALSO
diff --git a/lib/libm/man/cos.3 b/lib/libm/man/cos.3
index 9338c48adcc..fd703f185b1 100644
--- a/lib/libm/man/cos.3
+++ b/lib/libm/man/cos.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cos.3,v 1.8 2003/02/27 00:46:45 jason Exp $
+.\" $OpenBSD: cos.3,v 1.9 2003/02/27 04:28:58 jason Exp $
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -62,7 +62,9 @@ For a discussion of error due to roundoff, see
.Sh RETURN VALUES
The
.Fn cos
-function returns the cosine value.
+and
+.Fn cosf
+functions return the cosine value.
.Sh SEE ALSO
.Xr acos 3 ,
.Xr asin 3 ,
diff --git a/lib/libm/man/cosh.3 b/lib/libm/man/cosh.3
index 894758c7f51..01a993e77e0 100644
--- a/lib/libm/man/cosh.3
+++ b/lib/libm/man/cosh.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cosh.3,v 1.7 2003/02/27 01:07:43 jason Exp $
+.\" $OpenBSD: cosh.3,v 1.8 2003/02/27 04:28:58 jason Exp $
.\" Copyright (c) 1989, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -59,7 +59,7 @@ If the magnitude of x is too large,
.Fn cosh "x"
and
.Fn coshf "x"
-returns Inf and sets the global variable
+return Inf and set the global variable
.Va errno
to ERANGE.
.Sh SEE ALSO