W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2012

[Bug 18477] New: [QT3] different results for some atan2 test cases

From: <bugzilla@jessica.w3.org>
Date: Thu, 02 Aug 2012 21:44:18 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-18477-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18477

           Summary: [QT3] different results for some atan2 test cases
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
        AssignedTo: oneil@saxonica.com
        ReportedBy: andrew.eisenberg@us.ibm.com
         QAContact: public-qt-comments@w3.org


I am seeing different results for a number of atan2 test cases:

- math-atan2-005
  math:atan2(-1, -0.0e0)
  actual: 3.14159265358979
  expected: -math:pi() div 2
  excel: 3.141592654

- math-atan2-006
  math:atan2(+1, 0.0e0)
  actual: 0
  expected: +math:pi() div 2
  excel: 0

- math-atan2-007
  math:atan2(-0.0e0, -1)
  actual: -1.5707963267949
  expected: -math:pi()
  excel: -1.570796327

- math-atan2-008
  math:atan2(+0.0e0, -1)
  actual: -1.5707963267949
  expected: +math:pi()
  excel: -1.570796327

- math-atan2-009
  math:atan2(-0.0e0, +1)
  actual: 1.5707963267949
  expected: -0.0e0
  excel: 1.570796327

- math-atan2-010
  math:atan2(+0.0e0, +1)
  actual: 1.5707963267949
  expected: +0.0e0
  excel: 1.570796327

-- 
Configure bugmail: https://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 Thursday, 2 August 2012 21:44:20 UTC

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