W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2005

[Bug 2456] Changes to min() and max()

From: <bugzilla@wiggum.w3.org>
Date: Fri, 04 Nov 2005 16:35:50 +0000
To: public-qt-comments@w3.org
Message-Id: <E1EY4Xe-0007y1-Ne@wiggum.w3.org>


           Summary: Changes to min() and max()
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org

The spec for min() and max() changed between the April 2005 and Sept 2005
drafts, so that in the case where numeric promotion takes place, the
function now returns the value after promotion whereas it previously returned
the value before promotion.

For example, given max((5, 3e0)) the function is now supposed to return the
double 5e0, whereas it previously returned the integer 5.

I can't see any mention of this change in the change log, and I can't find a
Last Call Bugzilla entry against these functions. Did the WG actually make this
change deliberately?

Previously raised internally at

Received on Friday, 4 November 2005 16:35:54 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:26 UTC