math:pow
Returns $arg1
raised to the power of $arg2
.
pow($arg1 as xs:double?, $arg2 as xs:numeric) ➔ xs:double
Arguments | |||
| $arg1 | xs:double? | The input number |
| $arg2 | xs:numeric | The power to which the number is to be raised |
Result | xs:double |
Namespace
http://www.w3.org/2005/xpath-functions/math
Links to W3C specifications
XPath 3.1 Functions and Operators
Notes on the Saxon implementation
Implemented since Saxon 9.4; available whether or not XPath 3.0 is enabled.
Saxon also (for compatibility) implements the function math:power() in namespace
http://exslt.org/math
.