
math:pow( $x as xs:double, $y as xs:double ) as xs:double
Returns x^y.
| Parameters | |
|---|---|
| x | The floating-point base number. |
| y | The exponent to be applied to x. |
math:pow(2, 10) => 1024
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.