<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/math.atan2.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>math.atan2</api:function-name><api:suggest>math.atan2</api:suggest><api:suggest>math</api:suggest><api:suggest>atan2</api:suggest><api:function-link mode="xquery" fullname="math:atan2">/apidoc/8.0/math:atan2.xml</api:function-link><api:function mode="javascript" name="atan2" type="builtin" lib="math" category="MathBuiltins" hidden="false" bucket="MarkLogic Built-In Functions" prefix="math" namespace="http://marklogic.com/xdmp/math" fullname="math.atan2"><api: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.
</api:summary><api:params><api:param name="y" type="xs:double"><api:param-description>
  The floating point dividend.
  </api:param-description><api:param-name>y</api:param-name><api:param-type>Number</api:param-type></api:param><api:param name="x" type="xs:double"><api:param-description>
  The floating point divisor.
  </api:param-description><api:param-name>x</api:param-name><api:param-type>Number</api:param-type></api:param></api:params><api:return>Number</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
  math.atan2(36.23, 5.234) 

  =&gt; 1.42732303452594 
</pre></api:example></api:function></api:function-page>