ftan(var x, var f)

Tangent function, multiplied by the factor f. Faster and more precise than calculating f * tan(x) explicitely.

Parameters:

x - angle in degrees.
f  - scale factor.

Returns:

f * tan(x)

Speed:

Fast

Example:

x = ftan(180,10); // x is 0
x = ftan(89,1000); // x is 57289.961 

See also:

tan, atan