<?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>18478</bug_id>
          
          <creation_ts>2012-08-02 21:47:01 +0000</creation_ts>
          <short_desc>[QT3] slightly different results for some tan test cases</short_desc>
          <delta_ts>2013-05-02 16:55:05 +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>XQuery 3 &amp; XPath 3 Test Suite</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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="Andrew Eisenberg">andrew.eisenberg</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>oneil</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>71789</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2012-08-02 21:47:01 +0000</bug_when>
    <thetext>I&apos;m seeing slightly different results for some tan test cases:

- math-tan-006
  math:tan(math:pi() div 4)
  actual: 1
  expected: 0.9999999999999999
  excel: 1

- math-tan-007
  math:tan(-math:pi() div 4)
  actual: -1
  expected: -0.9999999999999999
  excel: -1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71931</commentid>
    <comment_count>1</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2012-08-08 12:45:18 +0000</bug_when>
    <thetext>I would like to ask Mike to comment on this bug. The bug 15233  may be related. Specifically what the IEEE spec states on the possible values of pi.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84718</commentid>
    <comment_count>2</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2013-03-20 10:48:44 +0000</bug_when>
    <thetext>I am inclined to mark this bug as resolved because is has been resolved in bug 15233.

*** This bug has been marked as a duplicate of bug 15233 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84737</commentid>
    <comment_count>3</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2013-03-20 13:22:29 +0000</bug_when>
    <thetext>Bug #15233 changed both the queries of test cases math-tan-006 and math-tan-007. It changed the results to 0.9999999999999999 and -0.9999999999999999, respectively. I don&apos;t believe that it addresses whether 1 and -1 should be accepted as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87102</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-05-01 13:28:51 +0000</bug_when>
    <thetext>I have changed these two tests to allow some imprecision in the results in the same way as other similar tests.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>