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

RE: XPath / XSLT 2.1 - Rounding algorithms

Subject: RE: XPath / XSLT 2.1 - Rounding algorithms
From: "Rushforth, Peter" <prushfor@xxxxxxxxxxx>
Date: Fri, 14 Nov 2008 12:05:10 -0500
RE:  XPath / XSLT 2.1 - Rounding algorithms
Hi Michael,

> There was therefore a high resistance to adding new
> "nice to have" functions.

As a comparison, there are 24 functions that implement time -
date related functions, and 5 numeric functions:

        10.5.1 fn:years-from-duration
        10.5.2 fn:months-from-duration
        10.5.3 fn:days-from-duration
        10.5.4 fn:hours-from-duration
        10.5.5 fn:minutes-from-duration
        10.5.6 fn:seconds-from-duration
        10.5.7 fn:year-from-dateTime
        10.5.8 fn:month-from-dateTime
        10.5.9 fn:day-from-dateTime
        10.5.10 fn:hours-from-dateTime
        10.5.11 fn:minutes-from-dateTime
        10.5.12 fn:seconds-from-dateTime
        10.5.13 fn:timezone-from-dateTime
        10.5.14 fn:year-from-date
        10.5.15 fn:month-from-date
        10.5.16 fn:day-from-date
        10.5.17 fn:timezone-from-date
        10.5.18 fn:hours-from-time
        10.5.19 fn:minutes-from-time
        10.5.20 fn:seconds-from-time
        10.5.21 fn:timezone-from-time
        10.7.1 fn:adjust-dateTime-to-timezone
        10.7.2 fn:adjust-date-to-timezone
        10.7.3 fn:adjust-time-to-timezone

        6.4.1 fn:abs
        6.4.2 fn:ceiling
        6.4.3 fn:floor
        6.4.4 fn:round
        6.4.5 fn:round-half-to-even

I'm not saying that any of the time - date related functions are
nice-to-have, maybe they are vital for somebody's use case,
but I am saying that math functions are important,
especially, in my use case, rounding as specified by the IEEE
floating point standard.

But since I don't hear anybody seconding the motion, that is my
2p.  :-)

Cheers,
Peter

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.