[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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 either http://www.w3.org/TR/xmlschema-2/#decimal says 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 documented. and xs:integer is derived from xs::decimal so also not guaranteed to be exact. David ________________________________________________________________________ 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. ________________________________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|