xref: /original-bsd/lib/libm/common_source/tan.3 (revision 703f6d5d)
1.\" Copyright (c) 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)tan.3	5.1 (Berkeley) 05/02/91
7.\"
8.Dd
9.Dt TAN 3
10.Os
11.Sh NAME
12.Nm tan
13.Nd tangent function
14.Sh SYNOPSIS
15.Fd #include <math.h>
16.Ft double
17.Fn tan "double x"
18.Sh DESCRIPTION
19The
20.Fn tan
21function computes the tangent of
22.Fa x
23(measured in radians).
24A large magnitude argument may yield a result
25with little or no significance.
26For a discussion of error due to roundoff, see
27.Xr math 3 .
28.Sh RETURN VALUES
29The
30.Fn tan
31function returns the tangent value.
32.Sh SEE ALSO
33.Xr acos 3 ,
34.Xr asin 3 ,
35.Xr atan 3 ,
36.Xr atan2 3 ,
37.Xr cos 3 ,
38.Xr cosh 3 ,
39.Xr sin 3 ,
40.Xr sinh 3 ,
41.Xr tanh 3 ,
42.Xr math 3 ,
43.Sh STANDARDS
44The
45.Fn tan
46function conforms to
47.St -ansiC .
48