Fatan

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns an approximation (accurate to at least 6 decimal digits) of the principal value of the arc tangent (expressed in degrees) of the specified value.

  • This function is significantly faster than dATan.
  • Note: Due to the sign ambiguity, this function cannot determine with certainty in which quadrant the angle falls only by its tangent value. See fatan2 for an alternative that takes a fractional argument instead.

Syntax

[help]
(float) fatan value:float

Example

set fArTangent to fatan 2.90421087767 

See Also