<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>28923</bug_id>
          
          <creation_ts>2015-07-07 15:14:18 +0000</creation_ts>
          <short_desc>[FO31] editorial: math trigonometric functions</short_desc>
          <delta_ts>2016-12-16 19:55:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Functions and Operators 3.1</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Debbie Lockett">debbie</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>jonathan.robie</cc>
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>121853</commentid>
    <comment_count>0</comment_count>
    <who name="Debbie Lockett">debbie</who>
    <bug_when>2015-07-07 15:14:18 +0000</bug_when>
    <thetext>1. The wording for the summary of math:sin &quot;Returns the sine of the argument, expressed in radians&quot; 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 &quot;(approximately)&quot; (like the 6th example). Similarly the 6th example of math:cos.

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

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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122110</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2015-07-15 19:00:14 +0000</bug_when>
    <thetext>The Working Group is asking Mike to apply these changes, reopening this bug if there are any he disagrees with.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122127</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-07-16 01:56:52 +0000</bug_when>
    <thetext>I have applied these corrections.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>