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


           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