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

[Bug 1316] New: Clarify note on division by negative zero (editorial)

From: <bugzilla@wiggum.w3.org>
Date: Mon, 09 May 2005 22:17:09 +0000
To: public-qt-comments@w3.org
Message-Id: <E1DVGYn-0003FX-QN@wiggum.w3.org>


           Summary: Clarify note on division by negative zero (editorial)
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: chamberl@almaden.ibm.com
         QAContact: public-qt-comments@w3.org

In Section 6.2.4, op:numeric-divide, we read "Division by negative zero 
returns -INF ..." and we also read "Zero divided by zero ... returns NaN." 
There is a potential for confusion about which rule applies in certain cases. 
Proposal: replace the last sentence in the Note in this section as 
follows: "Positive or negative zero divided by positive or negative zero 
returns NaN. Also, INF or -INF divided by INF or -INF returns NaN."

(This clarification is consistent with IEEE 754, which is normative. The Note 
at the end of Section 6.2.4 is simply provided for the convenience of the 
Received on Monday, 9 May 2005 22:17:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:05 UTC