tan(float x)

tanv(var x)

Tangent function.

Parameters:

x - angle in degrees (tanv) or radians (tan).

Returns:

Tangent of angle x.

Speed:

Fast

Remarks:

Example:

x = tanv(180); // x is 0
x = tanv(89); // x is 57.289
x = atanv(0.707) // x is 35.26

See also:

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

► latest version online