| Red Hat Documentation: man pages: man3: Linux Programmer's Manual (3) |
ATAN2Section: Linux Programmer's Manual (3)Updated: June 8, 2025 Index NAMEatan2 - arc tangent function of two variablesSYNOPSIS#include <math.h> double atan2(double y, double x); DESCRIPTIONThe atan2() function calculates the arc tangent of the two variables x and y. It is similar to calculating the arc tangent of y / x, except that the signs of both arguments are used to determine the quadrant of the result.RETURN VALUEThe atan2() function returns the result in radians, which is between -PI and PI (inclusive).CONFORMING TOSVID 3, POSIX, BSD 4.3, ISO 9899SEE ALSO
IndexThis document was created by using the manual pages. Time: 11:58:02 GMT, March 24, 2025 |
|
© 2001 Red Hat, Inc. All rights reserved. About Red Hat : Legal statement : Privacy statement : Y2K statement : Contact Red Hat |