Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/man Document the long double versions.
details: https://anonhg.NetBSD.org/src/rev/b986af3517d5
branches: trunk
changeset: 784474:b986af3517d5
user: matt <matt%NetBSD.org@localhost>
date: Tue Jan 29 02:54:30 2013 +0000
description:
Document the long double versions.
diffstat:
lib/libm/man/acos.3 | 21 +++++++++++++--------
lib/libm/man/acosh.3 | 24 +++++++++++++++++-------
lib/libm/man/asin.3 | 21 +++++++++++++--------
lib/libm/man/asinh.3 | 24 +++++++++++++++++-------
lib/libm/man/atan.3 | 16 ++++++++++------
lib/libm/man/atan2.3 | 16 ++++++++++------
lib/libm/man/atanh.3 | 24 +++++++++++++++++-------
7 files changed, 97 insertions(+), 49 deletions(-)
diffs (truncated from 385 to 300 lines):
diff -r ae998aaebed8 -r b986af3517d5 lib/libm/man/acos.3
--- a/lib/libm/man/acos.3 Tue Jan 29 02:05:08 2013 +0000
+++ b/lib/libm/man/acos.3 Tue Jan 29 02:54:30 2013 +0000
@@ -26,14 +26,15 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)acos.3 5.1 (Berkeley) 5/2/91
-.\" $NetBSD: acos.3,v 1.16 2003/08/07 16:44:46 agc Exp $
+.\" $NetBSD: acos.3,v 1.17 2013/01/29 02:54:30 matt Exp $
.\"
-.Dd May 2, 1991
+.Dd January 29, 2013
.Dt ACOS 3
.Os
.Sh NAME
.Nm acos ,
-.Nm acosf
+.Nm acosf ,
+.Nm acosl
.Nd arc cosine function
.Sh LIBRARY
.Lb libm
@@ -43,20 +44,24 @@
.Fn acos "double x"
.Ft float
.Fn acosf "float x"
+.Ft long double
+.Fn acosl "long double x"
.Sh DESCRIPTION
The
-.Fn acos
+.Fn acos ,
+.Fn acosf ,
and
-.Fn acosf
+.Fn acosl
functions compute the principal value of the arc cosine of
.Fa x
in the range
.Bq 0 , \*(Pi .
.Sh RETURN VALUES
If |x|\*[Gt]1,
-.Fn acos "x"
+.Fn acos "x" ,
+.Fn acosf "x" ,
and
-.Fn acosf "x"
+.Fn acosl "x"
.\" POSIX_MODE
set the global variable
.Va errno
@@ -80,4 +85,4 @@
The
.Fn acos
function conforms to
-.St -ansiC .
+.St -isoC-99 .
diff -r ae998aaebed8 -r b986af3517d5 lib/libm/man/acosh.3
--- a/lib/libm/man/acosh.3 Tue Jan 29 02:05:08 2013 +0000
+++ b/lib/libm/man/acosh.3 Tue Jan 29 02:54:30 2013 +0000
@@ -26,14 +26,15 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)acosh.3 5.2 (Berkeley) 5/6/91
-.\" $NetBSD: acosh.3,v 1.15 2003/08/07 16:44:46 agc Exp $
+.\" $NetBSD: acosh.3,v 1.16 2013/01/29 02:54:30 matt Exp $
.\"
-.Dd May 6, 1991
+.Dd January 29, 2013
.Dt ACOSH 3
.Os
.Sh NAME
.Nm acosh ,
-.Nm acoshf
+.Nm acoshf ,
+.Nm acoshl
.Nd inverse hyperbolic cosine function
.Sh LIBRARY
.Lb libm
@@ -43,11 +44,14 @@
.Fn acosh "double x"
.Ft float
.Fn acoshf "float x"
+.Ft long double
+.Fn acoshl "long double x"
.Sh DESCRIPTION
The
-.Fn acosh
+.Fn acosh ,
+.Fn acoshf ,
and
-.Fn acoshf
+.Fn acoshl
functions compute the inverse hyperbolic cosine
of the real
argument
@@ -55,9 +59,10 @@
.Sh RETURN VALUES
.\" POSIX_MODE
If x is less than one,
-.Fn acosh "x"
+.Fn acosh "x" ,
+.Fn acoshf "x" ,
and
-.Fn acoshf "x"
+.Fn acoshl "x"
return NaN and set the global variable
.Va errno
to EDOM.
@@ -75,3 +80,8 @@
.Fn acosh
function appeared in
.Bx 4.3 .
+.Sh STANDARDS
+The
+.Fn acosh
+function conforms to
+.St -isoC-99 .
diff -r ae998aaebed8 -r b986af3517d5 lib/libm/man/asin.3
--- a/lib/libm/man/asin.3 Tue Jan 29 02:05:08 2013 +0000
+++ b/lib/libm/man/asin.3 Tue Jan 29 02:54:30 2013 +0000
@@ -26,14 +26,15 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)asin.3 5.1 (Berkeley) 5/2/91
-.\" $NetBSD: asin.3,v 1.16 2003/08/07 16:44:46 agc Exp $
+.\" $NetBSD: asin.3,v 1.17 2013/01/29 02:54:30 matt Exp $
.\"
-.Dd May 2, 1991
+.Dd January 29, 2013
.Dt ASIN 3
.Os
.Sh NAME
.Nm asin ,
-.Nm asinf
+.Nm asinf ,
+.Nm asinl
.Nd arc sine function
.Sh LIBRARY
.Lb libm
@@ -43,11 +44,14 @@
.Fn asin "double x"
.Ft float
.Fn asinf "float x"
+.Ft long double
+.Fn asinl "long double x"
.Sh DESCRIPTION
The
-.Fn asin
+.Fn asin ,
+.Fn asinf ,
and
-.Fn asinf
+.Fn asinl
functions compute the principal value of the arc sine of
.Fa x
in the range
@@ -57,9 +61,10 @@
.Sh RETURN VALUES
.\" POSIX_MODE
If |x|\*[Gt]1,
-.Fn asin "x"
+.Fn asin "x" ,
+.Fn asinf "x" ,
and
-.Fn asinf "x"
+.Fn asinl "x"
return NaN and set the global variable
.Va errno
to EDOM.
@@ -82,4 +87,4 @@
The
.Fn asin
function conforms to
-.St -ansiC .
+.St -isoC-99 .
diff -r ae998aaebed8 -r b986af3517d5 lib/libm/man/asinh.3
--- a/lib/libm/man/asinh.3 Tue Jan 29 02:05:08 2013 +0000
+++ b/lib/libm/man/asinh.3 Tue Jan 29 02:54:30 2013 +0000
@@ -26,14 +26,15 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)asinh.3 6.4 (Berkeley) 5/6/91
-.\" $NetBSD: asinh.3,v 1.15 2003/08/07 16:44:46 agc Exp $
+.\" $NetBSD: asinh.3,v 1.16 2013/01/29 02:54:30 matt Exp $
.\"
-.Dd May 6, 1991
+.Dd January 29, 2013
.Dt ASINH 3
.Os
.Sh NAME
.Nm asinh ,
-.Nm asinhf
+.Nm asinhf ,
+.Nm asinhl
.Nd inverse hyperbolic sine function
.Sh LIBRARY
.Lb libm
@@ -43,19 +44,23 @@
.Fn asinh "double x"
.Ft float
.Fn asinhf "float x"
+.Ft long double
+.Fn asinhl "long double x"
.Sh DESCRIPTION
The
-.Fn asinh
+.Fn asinh ,
+.Fn asinhf ,
and
-.Fn asinhf
+.Fn asinhl
functions compute the inverse hyperbolic sine
of the real
argument
.Sh RETURN VALUES
The
-.Fn asinh
+.Fn asinh ,
+.Fn asinhf ,
and
-.Fn asinhf
+.Fn asinhl
functions return the inverse hyperbolic sine of
.Ar x .
.\" SYSV_MODE
@@ -73,3 +78,8 @@
.Fn asinh
function appeared in
.Bx 4.3 .
+.Sh STANDARDS
+The
+.Fn asinh
+function conforms to
+.St -isoC-99 .
diff -r ae998aaebed8 -r b986af3517d5 lib/libm/man/atan.3
--- a/lib/libm/man/atan.3 Tue Jan 29 02:05:08 2013 +0000
+++ b/lib/libm/man/atan.3 Tue Jan 29 02:54:30 2013 +0000
@@ -26,14 +26,15 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)atan.3 5.1 (Berkeley) 5/2/91
-.\" $NetBSD: atan.3,v 1.16 2003/08/07 16:44:46 agc Exp $
+.\" $NetBSD: atan.3,v 1.17 2013/01/29 02:54:30 matt Exp $
.\"
-.Dd May 2, 1991
+.Dd January 29, 2013
.Dt ATAN 3
.Os
.Sh NAME
.Nm atan ,
-.Nm atanf
+.Nm atanf ,
+.Nm atanl
.Nd arc tangent function of one variable
.Sh LIBRARY
.Lb libm
@@ -43,11 +44,14 @@
.Fn atan "double x"
.Ft float
.Fn atanf "float x"
+.Ft long double
+.Fn atanl "long double x"
.Sh DESCRIPTION
The
-.Fn atan
+.Fn atan ,
+.Fn atanf ,
and
-.Fn atanf
+.Fn atanl
functions compute the principal value of the arc tangent of
.Fa x
in the range
@@ -74,4 +78,4 @@
The
.Fn atan
functions conforms to
-.St -ansiC .
+.St -isoC-99 .
diff -r ae998aaebed8 -r b986af3517d5 lib/libm/man/atan2.3
--- a/lib/libm/man/atan2.3 Tue Jan 29 02:05:08 2013 +0000
+++ b/lib/libm/man/atan2.3 Tue Jan 29 02:54:30 2013 +0000
@@ -26,14 +26,15 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)atan2.3 5.1 (Berkeley) 5/2/91
-.\" $NetBSD: atan2.3,v 1.16 2003/08/07 16:44:46 agc Exp $
+.\" $NetBSD: atan2.3,v 1.17 2013/01/29 02:54:30 matt Exp $
.\"
-.Dd May 2, 1991
+.Dd January 29, 2013
.Dt ATAN2 3
.Os
.Sh NAME
.Nm atan2 ,
-.Nm atan2f
+.Nm atan2f ,
+.Nm atan2l
.Nd arc tangent function of two variables
Home |
Main Index |
Thread Index |
Old Index