math:pow

math:pow(
   $x as xs:double,
   $y as xs:double
) as xs:double

Summary

Returns x^y.

Parameters
x The floating-point base number.
y The exponent to be applied to x.

Example

  math:pow(2, 10)

  => 1024
Powered by MarkLogic Server | Terms of Use | Privacy Policy