W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2016

[Bug 29408] New: [QT3] Precision in extvardeclwithouttype-18

From: <bugzilla@jessica.w3.org>
Date: Sat, 30 Jan 2016 10:36:38 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29408-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 29408
           Summary: [QT3] Precision in extvardeclwithouttype-18
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: benito@benibela.de
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

The test uses as supposingly simple input avg((1,2,4)) and expects
2.333333333333333333 or 2.333333333333. 
But it is evaluated as 7 div 3, which becomes an xs:decimal which has
implementation-defined precision (For xs:decimal values the number of digits of
precision returned by the numeric operators is ·implementation-defined·.).
My implementation returns 2.33333333333333333

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Saturday, 30 January 2016 10:36:41 UTC

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