Loading TOC...

math.atan2

math.atan2(
   $y as Number,
   $x as Number
) as Number

Summary

Returns the arc tangent of y/x, in radians, in the range from -pi/2 to +pi/2 (inclusive), using the signs of y and x to determine the apropriate quadrant.

Parameters
$y The floating point dividend.
$x The floating point divisor.

Example

  math.atan2(36.23, 5.234) 

  => 1.42732303452594 

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy