1SIN(3M)                                                                SIN(3M)
2
3
4

NAME

6       sin, cos, tan, asin, acos, atan, atan2 - trigonometric functions
7

SYNOPSIS

9       #include <math.h>
10
11       double sin(x)
12       double x;
13
14       double cos(x)
15       double x;
16
17       double asin(x)
18       double x;
19
20       double acos(x)
21       double x;
22
23       double atan(x)
24       double x;
25
26       double atan2(x, y)
27       double x, y;
28

DESCRIPTION

30       Sin,  cos  and  tan return trigonometric functions of radian arguments.
31       The magnitude of the argument should be checked by the caller  to  make
32       sure the result is meaningful.
33
34       Asin returns the arc sin in the range -π/2 to π/2.
35
36       Acos returns the arc cosine in the range 0 to π.
37
38       Atan returns the arc tangent of x in the range -π/2 to π/2.
39
40       Atan2 returns the arc tangent of x/y in the range -π to π.
41

DIAGNOSTICS

43       Arguments  of  magnitude  greater  than 1 cause asin and acos to return
44       value 0; errno is set to EDOM.  The value of tan at its singular points
45       is a huge number, and errno is set to ERANGE.
46

BUGS

48       The value of tan for arguments greater than about 2**31 is garbage.
49
50
51
52                                                                       SIN(3M)
Impressum