Annotated edit history of
atan2(3) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
ATAN2 |
|
|
2 |
!!!ATAN2 |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
CONFORMING TO |
|
|
8 |
SEE ALSO |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
atan2 - arc tangent function of two variables |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__#include |
|
|
18 |
__ ''y''__, double__ ''x''__); |
|
|
19 |
__ |
|
|
20 |
!!DESCRIPTION |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
The __atan2()__ function calculates the arc tangent of |
|
|
24 |
the two variables ''x'' and ''y''. It is similar to |
|
|
25 |
calculating the arc tangent of ''y'' / ''x'', except |
|
|
26 |
that the signs of both arguments are used to determine the |
|
|
27 |
quadrant of the result. |
|
|
28 |
!!RETURN VALUE |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
The __atan2()__ function returns the result in radians, |
|
|
32 |
which is between -PI and PI (inclusive). |
|
|
33 |
!!CONFORMING TO |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
SVID 3, POSIX, BSD 4.3, ISO 9899 |
|
|
37 |
!!SEE ALSO |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
acos(3), asin(3), atan(3), |
|
|
41 |
cos(3), sin(3), tan(3) |
|
|
42 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.