RE: precision on op:numeric-divide

"Michael Rys" <[email protected]>
Newsgroups gmane.comp.web.query-languages
Message-ID <EB0A327048144442AFB15FCE18DC96C7017FFD88@RED-MSG-31.redmond.corp.microsoft.com>
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: [email protected] [mailto:[email protected]] On Behalf
Of
> [email protected]
> Sent: Wednesday, December 10, 2003 12:19 AM
> To: Michael Brundage
> Cc: [email protected]
> 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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.