W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2010

[Bug 9605] New: provide positive zero as an alternate result for tests expecting negative zero

From: <bugzilla@jessica.w3.org>
Date: Wed, 28 Apr 2010 14:48:56 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-9605-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9605

           Summary: provide positive zero as an alternate result for tests
                    expecting negative zero
           Product: XML Query Test Suite
           Version: 1.0.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: spungi@gmail.com
         QAContact: public-qt-comments@w3.org


Created an attachment (id=867)
 --> (http://www.w3.org/Bugs/Public/attachment.cgi?id=867)
This is a list of tests for fn:round that do not provide alternate results 0
and -0

http://www.w3.org/TR/xquery-operators/#func-round states that "In the cases
where positive zero or negative zero is returned, negative zero or positive
zero may be returned as [XML Schema Part 2: Datatypes Second Edition] does not
distinguish between the values positive zero and negative zero."

at least:
- 52 tests for fn:round and 
- 2 tests for fn:round-half-to-even 
do not provide alternate results (0 and -0).

See tests from the attached file.

The tests were created by Frans Englich.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 28 April 2010 14:49:38 UTC

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