This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1316 - Clarify note on division by negative zero (editorial)
Summary: Clarify note on division by negative zero (editorial)
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 minor
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-09 22:17 UTC by Don Chamberlin
Modified: 2007-02-25 23:38 UTC (History)
0 users

See Also:


Attachments

Description Don Chamberlin 2005-05-09 22:17:09 UTC
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 
reader.)
Comment 1 Jim Melton 2007-02-25 23:38:17 UTC
Closing bug because commenter has not objected to the resolution posted and more than two weeks have passed.