[Bug 25084] New: cbcl-avg-010 can return NaN

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 25084] New: cbcl-avg-010 can return NaN

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25084

            Bug ID: 25084
           Summary: cbcl-avg-010 can return NaN
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

Tes cbcl-avg-010 is:

avg((xs:double("NaN"), current-date() - xs:date("1997-01-01") ))

I believe that under "Errors and Optimization", NaN is a legitimate result.
Once an xs:double NaN value has been found in the input sequence, the only
possible outcomes are NaN or an error, so the processor is entitled to take an
early bath and return NaN.

--
You are receiving this mail because:
You are the QA Contact for the bug.

Reply | Threaded
Open this post in threaded view
|

[Bug 25084] cbcl-avg-010 can return NaN

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25084

Tim Mills <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Tim Mills <[hidden email]> ---
Agreed.

--
You are receiving this mail because:
You are the QA Contact for the bug.