How is overflow to be handled during the computation of arithmetic functions? For example, on implementations that choose to limit the precision of xs:integer to (signed) 64 bit integers, should let $max_int := xs:integer("9223372036854775807") return avg(($max_int, $max_int)) succeed and return $max_int, fail with overflow, or is the behavior implementation-dependent/defined? Michael Brundage xquery@comcast.net Writing as Author, "XQuery: The XML Query Language" (Addison-Wesley, to appear 2003) Co-author, "Professional XML Databases" (Wrox Press, 2000) not as Technical Lead Common Query Runtime/XML Query Processing WebData XML Team MicrosoftReceived on Thursday, 25 September 2003 13:18:50 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:01 GMT