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 15788 - [F+O3.0] fn:atan2() spurious reference to $arg
Summary: [F+O3.0] fn:atan2() spurious reference to $arg
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.0 (show other bugs)
Version: Last Call drafts
Hardware: PC All
: 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: 2012-01-30 10:18 UTC by Michael Kay
Modified: 2012-02-06 17:08 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2012-01-30 10:18:15 UTC
The specification of atan2 says

If $arg is NaN then the result is NaN.

but the arguments are named $x and $y.

Reported by @RobbertAtWork on twitter.
Comment 1 Michael Kay 2012-02-06 17:08:04 UTC
I propose to treat this as editorial, changing "$arg" to read "either argument".