This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11549 - Section 4.7.14 math:atan2 - Typo in the Examples
Summary: Section 4.7.14 math:atan2 - Typo in the Examples
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.0 (show other bugs)
Version: Working drafts
Hardware: PC Linux
: P2 minor
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-14 16:59 UTC by O'Neil Delpratt
Modified: 2011-07-19 16:13 UTC (History)
1 user (show)

See Also:


Attachments

Description O'Neil Delpratt 2010-12-14 16:59:53 UTC
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
Comment 1 Michael Kay 2011-01-12 23:50:02 UTC
Agreed to treat this as editorial (will be fixed by the editor)
Comment 2 Michael Kay 2011-06-07 13:53:48 UTC
Now fixed.