[Bug 29883] New: [Qt3Ts] fo-test-d3e4625, fo-test-d3e4630

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29883

            Bug ID: 29883
           Summary: [Qt3Ts] fo-test-d3e4625, fo-test-d3e4630
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Using .NET, I get math:tan(math:pi() div 2) to be

16331778728383844.0

and abs($result - 1.633123935319537E16)

to be

539375188474.0.

Are these tests correct?


   <test-case name="fo-test-d3e4625">
      <description>Test case for math:tan</description>
      <created by="generate-qt3-test-set.xsl" on="2016-09-26"/>
      <environment ref="global"/>
      <test>
        math:tan(math:pi() div 2)
      </test>
      <result>
         <assert>abs($result - 1.633123935319537E16) lt 1e-5</assert>
      </result>
   </test-case>

   <test-case name="fo-test-d3e4630">
      <description>Test case for math:tan</description>
      <created by="generate-qt3-test-set.xsl" on="2016-09-26"/>
      <environment ref="global"/>
      <test>
        math:tan(-math:pi() div 2)
      </test>
      <result>
         <assert>abs($result - -1.633123935319537E16) lt 1e-5</assert>
      </result>
   </test-case>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 29 September 2016 15:12:03 UTC