-<xqdoc:xqdoc>
-<xqdoc:module type="library">
<xqdoc:uri>http://exist-db.org/xquery/math</xqdoc:uri>
-<xqdoc:comment>
<xqdoc:description>Functions for mathematical operations.</xqdoc:description>
</xqdoc:comment>
</xqdoc:module>
-<xqdoc:functions>
-<xqdoc:function>
<xqdoc:name>abs</xqdoc:name>
<xqdoc:signature>abs($a as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns the absolute value of a number.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>acos</xqdoc:name>
<xqdoc:signature>acos($a as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns the arccosine value of a number in radians.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>asin</xqdoc:name>
<xqdoc:signature>asin($a as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns the arcsine value of a number in radians.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>atan</xqdoc:name>
<xqdoc:signature>atan($a as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns the arctangent value of a number in radians.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>ceil</xqdoc:name>
<xqdoc:signature>ceil($a as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns the smallest (closest to negative infinity) value that is not less than the argument and is equal to a mathematical integer.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>cos</xqdoc:name>
<xqdoc:signature>cos($a as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns e (the base of natural logarithms) raised to a power.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>exp</xqdoc:name>
<xqdoc:signature>exp($a as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns the absolute value of a number.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>floor</xqdoc:name>
<xqdoc:signature>floor($a as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns the largest (closest to positive infinity) value that is not greater than the argument and is equal to a mathematical integer.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>log</xqdoc:name>
<xqdoc:signature>log($a as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns the natural logarithm of a number.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>round</xqdoc:name>
<xqdoc:signature>round($a as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns the double value that is closest to a integer.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>sin</xqdoc:name>
<xqdoc:signature>sin($a as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns the sine of the number in radians.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>sqrt</xqdoc:name>
<xqdoc:signature>sqrt($a as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns the square root of a number.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>tan</xqdoc:name>
<xqdoc:signature>tan($a as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns the tangent of the number passed as an argument in radians.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>degrees</xqdoc:name>
<xqdoc:signature>degrees($a as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Converts angle in radians to degrees.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>radians</xqdoc:name>
<xqdoc:signature>radians($a as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Converts angle in degrees to radians.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>e</xqdoc:name>
<xqdoc:signature>e() xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns base of the natural logarithms, e.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>pi</xqdoc:name>
<xqdoc:signature>pi() xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns the value of pi.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>random</xqdoc:name>
<xqdoc:signature>random() xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns a value greater than or equal to 0.0 and less than 1.0.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>atan2</xqdoc:name>
<xqdoc:signature>atan2($a as xs:double, $b as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns the angle (radians) from the X axis to a point ($b,$a).</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>power</xqdoc:name>
<xqdoc:signature>power($a as xs:double, $b as xs:double) xs:double</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Returns the value of $a raised to the power of $b.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
</xqdoc:functions>
</xqdoc:xqdoc>