www.delorie.com/djgpp/doc/libc-2.02/libc_46.html   search  
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.

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 1998   by DJ Delorie     Updated Dec 1998  

Please take a moment to fill out this visitor survey
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)