Changes

Jump to navigation Jump to search
156 bytes added ,  12:32, 2 July 2020
m
Text replacement - "[http://www.w3.org/TR/xpath-functions-30" to "[https://www.w3.org/TR/xpath-functions-31"
The math [[Module Library|XQuery Module]] defines functions to perform mathematical operations, such as {{Code|pi}}, {{Code|asin}} and {{Code|acos}}. Most functions are specified in the [httphttps://www.w3.org/TR/xpath-functions-3031/ Functions and Operators Specification] of the upcoming XQuery 3.0 Recommendation, and some additional ones have been added in this module.
=Conventions=
All functions in this module are assigned to the {{Code|<code><nowiki>http://www.w3.org/2005/xpath-functions/math}} </nowiki></code> namespace, which is statically bound to the {{Code|math}} prefix.<br/>
=W3 Functions=
|-
| width='120' | '''Signatures'''
|{{Func|math:crc32|$str string as xs:string?|xs:hexBinary?}}<br />
|-
| '''Summary'''
|Calculates the CRC32 check sum of the given string {{Code|$strstring}}.<br />If an empty sequence is supplied, the empty sequence is returned.
|-
| '''Examples'''
=Changelog=
 
; Version 9.1
* Updated: [[#math:crc32|math:crc32]] can be called with empty sequence.
; Version 7.5
* Moved: [[Random Module#random:integer|math:random]] and [[Random Module#random:uuid|math:uuid]] have been move moved to [[Random Module]]. 
; Version 7.3
* Added: [[#math:crc32|math:crc32]] and [[Random Module#random:uuid|math:uuid]] have been adopted from the obsolete Utility Module.
 
[[Category:XQuery]]
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu