[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: floor() and idiv

Subject: Re: floor() and idiv
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 6 Nov 2008 22:32:57 GMT
Re:  floor() and idiv
> Oh. Well that's a bad decision, as you no longer have the neat divide
> between exact arithmetic (requested by xs:integer or xs:decimal) and
> inexact arithmetic (requested by xs:double and xs:float) that you get
> in XML Schema.

XML schema doesn't guarantee exact arithmetic for integer or decimal



Note:  All 7minimally conforming7 processors 7must7 support
decimal numbers with a minimum of 18 decimal digits (i.e., with a
7totalDigits7 of 18). However, 7minimally conforming7
processors 7may7 set an application-defined limit on the maximum
number of decimal digits they are prepared to support, in which case
that application-defined maximum number 7must7 be clearly

and xs:integer is derived from xs::decimal so also not guaranteed to be


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.