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

RE: large and small numbers in xsl

Subject: RE: large and small numbers in xsl
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 17 Feb 2000 15:18:50 -0000
large and small numbers
> Can XSL handle large and small numbers
Yes
> specified in 1e-157 or 1.1e+12 notation.
No

> Results of numerical comparisons (greater than, less than) seem
> pretty random using this format.
1.1e+12 is not a number in XSLT so if you do a numeric comparison it is
treated as NaN; all less than and greater than comparisons with NaN yield
false.  
> 
> The xpath recomendation states that all numbers are treated as
> double-precision 64-bit format IEEE 754 value and points to a 
> description of this that I can't totally get to grips with.

I found the description in the Java Language Spec reasonably penetrable,
though as with SQL three-valued logic, some operations have results that
defy one's previous expectations.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.