<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/math.acos.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>math.acos</api:function-name><api:suggest>math.acos</api:suggest><api:suggest>math</api:suggest><api:suggest>acos</api:suggest><api:function-link mode="xquery" fullname="math:acos">/apidoc/8.0/math:acos.xml</api:function-link><api:function mode="javascript" name="acos" type="builtin" lib="math" category="MathBuiltins" hidden="false" bucket="MarkLogic Built-In Functions" prefix="math" namespace="http://marklogic.com/xdmp/math" fullname="math.acos"><api:summary>
  Returns the arc cosine of x, in radians,
  in the range from 0 to pi (inclusive).
</api:summary><api:params><api:param name="x" type="xs:double"><api:param-description>
    The fraction to be evaluated. Must be in the range of -1 to +1 (inclusive).
  </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.acos(.5)

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