atanv(var x)

atan2v(var a,var b)

Arc tangent function - the opposite of the tanv function, returns an angle for a given tangent value.

Parameters:

x - direct tangent value.
a,b - the tangent value is a/b; useful for higher precision when a is a sin and b a cos.

Returns:

Angle in degrees (-180 ... 180).

Speed:

Fast

Remarks:

Example:

x = atanv(0); // x is 180
x = atanv(57.289); // x is 88.999 

See also:

Trigonometry, sinv, cosv, tanv, asinv, acosv, atanv

► latest version online