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

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