W3C home > Mailing lists > Public > www-ql@w3.org > October to December 2003

RE: precision on op:numeric-divide

From: Michael Rys <mrys@microsoft.com>
Date: Wed, 10 Dec 2003 06:46:16 -0800
Message-ID: <EB0A327048144442AFB15FCE18DC96C7017FFD88@RED-MSG-31.redmond.corp.microsoft.com>
To: <Damien@sodatech.com>, "Michael Brundage" <xquery@comcast.net>
Cc: <www-ql@w3.org>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:17:16 UTC