C / math.h / atan2
acos, asin, atan, » atan2, ceil, cos, cosh, exp, fabs, floor, fmod, frexp, ldexp, log, log10, modf, pow, sin, sinh, sqrt, tan, tanh,
Funcion: atan2()
Sintaxis:
double atan2(double y, double x);

Descripcion: Calcula el valor principal del arco tangente de y/x, usando los signos de ambos argumentos para determinar el cuadrante del valor de retorno. Puede producirse un error de dominio si ambos argumentos son cero.


Ejemplo:
#include <stdio.h>
#include <math.h>
 
int main()
{
   double x = 0.2345, y = -3.4567;
 
   printf( "atan2( %f, %f ) = %f\n", y, x, atan2(y,x) );
   return 0;
}

Librerias C

Librerias ANSI C
   string.hcstring
   math.hcmath
   stdio.hcstdio
   time.hctime
   stdlib.hcstdlib
   ctype.hcctype
   locale.hclocale
   signal.hcsignal
   setjmp.hcsetjmp

Librerias Borland
   conio.h
   graphics.h