SilverScreen Solid Modeler

atan2

atan2

Previous topic Next topic  

atan2

Previous topic Next topic JavaScript is required for the print function  

StandardCLibrary

 

double atan2( double y, double x )

 

double y;         /* double value */

double x;         /* double value */

 

 




Synopsis

#include "math.h"

 

The atan2 function returns the value, in radians, of the arc tangent, or tan-1 of y/x .

 

 

Parameters

x and y may not both be zero.

 

 

Return Value

if they x and y are both 0, then atan2 returns 0.0, and sets errno (the system error variable) to EDOM. Otherwise, atan2 returns a value in the range of [-ππ].

 

 

See Also

tan , atan