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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29408

            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