ATAN2(3) BSD Programmer's Manual ATAN2(3)[top]NAMEatan2, atan2f - arc tangent functions of two variablesSYNOPSIS#include <math.h> double atan2(double y, double x); float atan2f(float y, float x);DESCRIPTIONThe atan2() and the atan2f() functions compute the principal value of the arc tangent of y/x, in the range [, +pi] radians, using the signs of both arguments to determine the quadrant of the return value. For a dis- cussion of error reporting, see math(3).-piERRORSIf x = 0 and y = 0 then: _IEEE_ The return value is 0. _POSIX_ Same as _IEEE_, but errno is also set to EDOM. _XOPEN_ Same as _POSIX_, but errno is only set if matherr(3) returns 0. The exception type is DOMAIN. _SVID_ Same as _XOPEN_, and a message is printed to stderr if errno is set.SEE ALSOacos(3), asin(3), atan(3), cos(3), cosh(3), math(3), sin(3), sinh(3), tan(3), tanh(3)STANDARDSThe atan2() function conforms to ANSI C X3.159-1989 (``ANSI C '').BSDI BSD/OS February 17, 1998 1

List of man pages available for

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]

Polar

Member of Polar

Based on Fawad Halim's script.

....................................................................

Vote for polarhome |