[xquery-talk] operations on derived numeric type

Benito van der Zander benito at benibela.de
Fri Aug 30 04:11:33 PDT 2013

is it true that *all* operations on types derived from the numeric types 
return a value of one of the four base numeric types?
For example xs:byte(1) + xs:byte(1) or abs(xs:byte(1)).

What's the point of even having these sub types then?

And why does the XQuery 1 test suite have two different output files for 
the "abs(xs:byte(<e>0</e>)) instance of xs:byte" case (K2-ABSFunc-46)?
One is "true", the other is "false"


More information about the talk mailing list