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 28923 - [FO31] editorial: math trigonometric functions
Summary: [FO31] editorial: math trigonometric functions
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.1 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 normal
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: 2015-07-07 15:14 UTC by Debbie Lockett
Modified: 2016-12-16 19:55 UTC (History)
1 user (show)

See Also:


Attachments

Description Debbie Lockett 2015-07-07 15:14:18 UTC
1. The wording for the summary of math:sin "Returns the sine of the argument, expressed in radians" is a little ambiguous - i.e. whether the second half of the sentence refers to the argument, or the returned result. See also math:cos and math:tan. 

2. The results for the 4th and 5th examples of math:sin should say "(approximately)" (like the 6th example). Similarly the 6th example of math:cos.

3. The rules for math:asin say:
"Otherwise the result is the arc sine of $θ, treated as an angle in radians,..."
- Firstly the argument is $arg not $θ. 
- Secondly, either remove the part which says "treated as an angle in radians", or the wording should be rearranged to avoid the ambiguity of my first point, e.g.
"Otherwise the result is an angle in radians, which is the arc sine of $arg,..."

Similarly, for math:acos and math:atan.

4. In the last note for math:asin, replace $θ by θ in the given range.

Similarly, the last notes for math:acos and math:atan.

5. The results for the examples of math:atan2 use math:pi, but the other trigonometric functions use 3.141592653589793e0 (approximately), etc. Should these actually be the same?
Comment 1 Jonathan Robie 2015-07-15 19:00:14 UTC
The Working Group is asking Mike to apply these changes, reopening this bug if there are any he disagrees with.
Comment 2 Michael Kay 2015-07-16 01:56:52 UTC
I have applied these corrections.