Go to the first, previous, next, last section, table of contents.


atan2

Syntax

#include <math.h>

double atan2(double y, double x);

Return Value

The arc tangent, in radians, of y/x, with appropriate return values for positive, negative, or zero values of x. E.g. atan2(1, 0) returns PI/2, and atan2(0, -1) returns PI.

Portability

ANSI, POSIX


Go to the first, previous, next, last section, table of contents.