Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src document cosl with MLINKS and in the man page
details: https://anonhg.NetBSD.org/src/rev/4acc30715041
branches: trunk
changeset: 456163:4acc30715041
user: maya <maya%NetBSD.org@localhost>
date: Thu Apr 25 23:17:24 2019 +0000
description:
document cosl with MLINKS and in the man page
diffstat:
distrib/sets/lists/comp/mi | 5 ++++-
lib/libm/Makefile | 3 ++-
lib/libm/man/cos.3 | 14 +++++++++-----
3 files changed, 15 insertions(+), 7 deletions(-)
diffs (89 lines):
diff -r 58cc8b68202a -r 4acc30715041 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi Thu Apr 25 22:58:23 2019 +0000
+++ b/distrib/sets/lists/comp/mi Thu Apr 25 23:17:24 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.2270 2019/04/24 11:43:20 kamil Exp $
+# $NetBSD: mi,v 1.2271 2019/04/25 23:17:24 maya Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
./etc/mtree/set.comp comp-sys-root
@@ -6235,6 +6235,7 @@
./usr/share/man/cat3/cosf.0 comp-c-catman .cat
./usr/share/man/cat3/cosh.0 comp-c-catman .cat
./usr/share/man/cat3/coshf.0 comp-c-catman .cat
+./usr/share/man/cat3/cosl.0 comp-c-catman .cat
./usr/share/man/cat3/cpow.0 comp-c-catman complex,.cat
./usr/share/man/cat3/cpowf.0 comp-c-catman complex,.cat
./usr/share/man/cat3/cpowl.0 comp-c-catman complex,.cat
@@ -14235,6 +14236,7 @@
./usr/share/man/html3/cosf.html comp-c-htmlman html
./usr/share/man/html3/cosh.html comp-c-htmlman html
./usr/share/man/html3/coshf.html comp-c-htmlman html
+./usr/share/man/html3/cosl.html comp-c-htmlman html
./usr/share/man/html3/cpow.html comp-c-htmlman complex,html
./usr/share/man/html3/cpowf.html comp-c-htmlman complex,html
./usr/share/man/html3/cpowl.html comp-c-htmlman complex,html
@@ -22178,6 +22180,7 @@
./usr/share/man/man3/cosf.3 comp-c-man .man
./usr/share/man/man3/cosh.3 comp-c-man .man
./usr/share/man/man3/coshf.3 comp-c-man .man
+./usr/share/man/man3/cosl.3 comp-c-man .man
./usr/share/man/man3/cpow.3 comp-c-man complex,.man
./usr/share/man/man3/cpowf.3 comp-c-man complex,.man
./usr/share/man/man3/cpowl.3 comp-c-man complex,.man
diff -r 58cc8b68202a -r 4acc30715041 lib/libm/Makefile
--- a/lib/libm/Makefile Thu Apr 25 22:58:23 2019 +0000
+++ b/lib/libm/Makefile Thu Apr 25 23:17:24 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.208 2019/04/17 07:45:23 mrg Exp $
+# $NetBSD: Makefile,v 1.209 2019/04/25 23:17:24 maya Exp $
#
# @(#)Makefile 5.1beta 93/09/24
#
@@ -383,6 +383,7 @@
MLINKS+=copysign.3 copysignf.3 \
copysign.3 copysignl.3
MLINKS+=cos.3 cosf.3
+MLINKS+=cos.3 cosl.3
MLINKS+=cosh.3 coshf.3
MLINKS+=erf.3 erff.3 \
erf.3 erfl.3 \
diff -r 58cc8b68202a -r 4acc30715041 lib/libm/man/cos.3
--- a/lib/libm/man/cos.3 Thu Apr 25 22:58:23 2019 +0000
+++ b/lib/libm/man/cos.3 Thu Apr 25 23:17:24 2019 +0000
@@ -26,14 +26,15 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)cos.3 5.1 (Berkeley) 5/2/91
-.\" $NetBSD: cos.3,v 1.15 2003/08/07 16:44:47 agc Exp $
+.\" $NetBSD: cos.3,v 1.16 2019/04/25 23:17:24 maya Exp $
.\"
-.Dd May 2, 1991
+.Dd April 26, 2019
.Dt COS 3
.Os
.Sh NAME
.Nm cos ,
-.Nm cosf
+.Nm cosf ,
+.Nm cosl
.Nd cosine function
.Sh LIBRARY
.Lb libm
@@ -43,11 +44,14 @@
.Fn cos "double x"
.Ft float
.Fn cosf "float x"
+.Ft long double
+.Fn cosl "long double x"
.Sh DESCRIPTION
The
-.Fn cos
+.Fn cos ,
+.Fn cosf ,
and
-.Fn cosf
+.Fn cosl
functions compute the cosine of
.Fa x
(measured in radians).
Home |
Main Index |
Thread Index |
Old Index