<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/math.log.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>math.log</api:function-name><api:suggest>math.log</api:suggest><api:suggest>math</api:suggest><api:suggest>log</api:suggest><api:function-link mode="xquery" fullname="math:log">/apidoc/8.0/math:log.xml</api:function-link><api:function mode="javascript" name="log" type="builtin" lib="math" category="MathBuiltins" hidden="false" bucket="MarkLogic Built-In Functions" prefix="math" namespace="http://marklogic.com/xdmp/math" fullname="math.log"><api:summary>
  Returns the base-e logarithm of x.
</api:summary><api:params><api:param name="x" type="xs:double"><api:param-description>
    The floating point number to be evaluated.
  </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.log(1000)

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