Module Name: src Committed By: maya Date: Thu Apr 25 23:17:24 UTC 2019
Modified Files: src/distrib/sets/lists/comp: mi src/lib/libm: Makefile src/lib/libm/man: cos.3 Log Message: document cosl with MLINKS and in the man page To generate a diff of this commit: cvs rdiff -u -r1.2270 -r1.2271 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.208 -r1.209 src/lib/libm/Makefile cvs rdiff -u -r1.15 -r1.16 src/lib/libm/man/cos.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/sets/lists/comp/mi diff -u src/distrib/sets/lists/comp/mi:1.2270 src/distrib/sets/lists/comp/mi:1.2271 --- src/distrib/sets/lists/comp/mi:1.2270 Wed Apr 24 11:43:20 2019 +++ src/distrib/sets/lists/comp/mi Thu Apr 25 23:17:24 2019 @@ -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 Index: src/lib/libm/Makefile diff -u src/lib/libm/Makefile:1.208 src/lib/libm/Makefile:1.209 --- src/lib/libm/Makefile:1.208 Wed Apr 17 07:45:23 2019 +++ src/lib/libm/Makefile Thu Apr 25 23:17:24 2019 @@ -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+=ceil.3 ceilf.3 \ 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 \ Index: src/lib/libm/man/cos.3 diff -u src/lib/libm/man/cos.3:1.15 src/lib/libm/man/cos.3:1.16 --- src/lib/libm/man/cos.3:1.15 Thu Aug 7 16:44:47 2003 +++ src/lib/libm/man/cos.3 Thu Apr 25 23:17:24 2019 @@ -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).