document cosl with MLINKS and in the man page
This commit is contained in:
parent
e262cfe2be
commit
3cdbcb3e1b
@ -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
|
||||
|
@ -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 \
|
||||
|
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user