Documentation for sinl(), cosl(), and tanl().

This commit is contained in:
David Schultz 2008-02-17 07:32:44 +00:00
parent 61f955827d
commit f869a8c5f3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176359
3 changed files with 46 additions and 35 deletions

View File

@ -28,12 +28,13 @@
.\" from: @(#)cos.3 5.1 (Berkeley) 5/2/91
.\" $FreeBSD$
.\"
.Dd May 2, 1991
.Dd January 24, 2008
.Dt COS 3
.Os
.Sh NAME
.Nm cos ,
.Nm cosf
.Nm cosf ,
.Nm cosl
.Nd cosine functions
.Sh LIBRARY
.Lb libm
@ -43,11 +44,14 @@
.Fn cos "double x"
.Ft float
.Fn cosf "float x"
.Fn long double
.Ft cosl "long double x"
.Sh DESCRIPTION
The
.Fn cos
and the
.Fn cosf
.Fn cos ,
.Fn cosf ,
and
.Fn cosl
functions compute the cosine of
.Fa x
(measured in radians).
@ -57,9 +61,10 @@ For a discussion of error due to roundoff, see
.Xr math 3 .
.Sh RETURN VALUES
The
.Fn cos
and the
.Fn cosf
.Fn cos ,
.Fn cosf ,
and
.Fn cosl
functions return the cosine value.
.Sh SEE ALSO
.Xr acos 3 ,
@ -73,7 +78,5 @@ functions return the cosine value.
.Xr tan 3 ,
.Xr tanh 3
.Sh STANDARDS
The
.Fn cos
function conforms to
.St -isoC .
These functions conform to
.St -isoC-99 .

View File

@ -29,12 +29,13 @@
.\" from: @(#)sin.3 6.7 (Berkeley) 4/19/91
.\" $FreeBSD$
.\"
.Dd April 19, 1991
.Dd January 24, 2008
.Dt SIN 3
.Os
.Sh NAME
.Nm sin ,
.Nm sinf
.Nm sinf ,
.Nm sinl
.Nd sine functions
.Sh LIBRARY
.Lb libm
@ -44,11 +45,14 @@
.Fn sin "double x"
.Ft float
.Fn sinf "float x"
.Ft long double
.Fn sinl "long double x"
.Sh DESCRIPTION
The
.Fn sin
and the
.Fn sinf
.Fn sin ,
.Fn sinf ,
and
.Fn sinl
functions compute the sine of
.Fa x
(measured in radians).
@ -56,9 +60,10 @@ A large magnitude argument may yield a result with little
or no significance.
.Sh RETURN VALUES
The
.Fn sin
and the
.Fn sinf
.Fn sin ,
.Fn sinf ,
and
.Fn sinl
functions return the sine value.
.Sh SEE ALSO
.Xr acos 3 ,
@ -72,7 +77,5 @@ functions return the sine value.
.Xr tan 3 ,
.Xr tanh 3
.Sh STANDARDS
The
.Fn sin
function conforms to
.St -isoC .
These functions conform to
.St -isoC-99 .

View File

@ -28,12 +28,13 @@
.\" from: @(#)tan.3 5.1 (Berkeley) 5/2/91
.\" $FreeBSD$
.\"
.Dd May 2, 1991
.Dd January 24, 2008
.Dt TAN 3
.Os
.Sh NAME
.Nm tan ,
.Nm tanf
.Nm tanf ,
.Nm tanl
.Nd tangent functions
.Sh LIBRARY
.Lb libm
@ -43,11 +44,14 @@
.Fn tan "double x"
.Ft float
.Fn tanf "float x"
.Ft long double
.Fn tanl "long double x"
.Sh DESCRIPTION
The
.Fn tan
and the
.Fn tanf
.Fn tan ,
.Fn tanf ,
and
.Fn tanl
functions compute the tangent of
.Fa x
(measured in radians).
@ -57,8 +61,11 @@ For a discussion of error due to roundoff, see
.Xr math 3 .
.Sh RETURN VALUES
The
.Fn tan
function returns the tangent value.
.Fn tan ,
.Fn tanf ,
and
.Fn tanl
functions return the tangent value.
.Sh SEE ALSO
.Xr acos 3 ,
.Xr asin 3 ,
@ -71,7 +78,5 @@ function returns the tangent value.
.Xr sinh 3 ,
.Xr tanh 3
.Sh STANDARDS
The
.Fn tan
function conforms to
.St -isoC .
These functions conform to
.St -isoC-99 .