|
Subject: RE: [xsl] XPath / XSLT 2.1 - Rounding algorithms From: "Rushforth, Peter" <prushfor@xxxxxxxxxxx> Date: Fri, 14 Nov 2008 12:05:10 -0500 |
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] XPath / XSLT 2.1 - Roundi, Michael Kay | Thread | RE: [xsl] XPath / XSLT 2.1 - Roundi, Michael Kay |
| Re: [xsl] Global namespace prefixes, David Carlisle | Date | RE: [xsl] XPath / XSLT 2.1 - Roundi, Michael Kay |
| Month |