Fatan2

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 y/x.

  • This function is significantly faster than dATan2.
  • To compute the value, the function takes into account the sign of both arguments in order to determine the quadrant.

Syntax

[help]
(float) fatan2 y:float x:float

Example

set fArTangent to fatan2 11.965348816 4.12 

See Also