RE: precision on op:numeric-divide

Correct, but I don't think it is the XQuery's WG task to solve the
problem of the heterogeneity of arithmetic across different
implementation platforms, even though it is tempting...

Best regards
Michael (speaking for himself)

> -----Original Message-----
> From: www-ql-request@w3.org [mailto:www-ql-request@w3.org] On Behalf
Of
> Damien@sodatech.com
> Sent: Wednesday, December 10, 2003 12:19 AM
> To: Michael Brundage
> Cc: www-ql@w3.org
> Subject: Re: precision on op:numeric-divide
> 
> 
> On Tue, Dec 09, 2003 at 11:14:32PM -0800, Michael Brundage wrote:
> >
> > In my experience, most XQuery implementations limit xs:integer to
either
> > 32-bit or 64-bit integers, and xs:decimal to either 64-bit or
128-bit
> > numbers (i.e., whatever the underlying implementation language ?
> typically
> > Java, C#, C++, etc. ? supports natively or through built-in
libraries).
> 
> This is a little disappointing, because as far as I can see the
rounding
> semantics for xs:decimal's operators are not clearly specified.  I see
> this as a deficiency, but perhaps others disagree.
> 
> Thanks,
> Damien
> 

Received on Wednesday, 10 December 2003 09:46:22 UTC