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

[Bug 11549] New: Section 4.7.14 math:atan2 - Typo in the Examples

From: <bugzilla@jessica.w3.org>
Date: Tue, 14 Dec 2010 16:59:54 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-11549-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11549

           Summary: Section 4.7.14 math:atan2 - Typo in the Examples
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.0
        AssignedTo: mike@saxonica.com
        ReportedBy: oneil@saxonica.com
         QAContact: public-qt-comments@w3.org


Section 4.7.14 math:atan2

The 1st and 2nd examples have incorrect results

i.e.:
The expression math:atan2(+0.0e0, -0.0e0) returns 0.0e0.
The expression math:atan2(-0.0e0, -0.0e0) returns -0.0e0.
....

I think the second arguments should be 0.0e0.
i.e.:
The expression math:atan2(+0.0e0, 0.0e0) returns 0.0e0.
The expression math:atan2(-0.0e0, 0.0e0) returns -0.0e0

-- 
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 Tuesday, 14 December 2010 16:59:55 UTC

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