W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2016

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 25 Oct 2016 14:05:08 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29883-523-Yyyb1ZdlWr@http.www.w3.org/Bugs/Public/>

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |mike@saxonica.com

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
The problem is that the "approximately" flag in the markup generates a test for
small differences, whereas here the difference between the actual result and
the true mathematical result (infinity) is huge.

I propose to change the text in the spec to:

1 div math:tan(math:pi() div 2) returns 0.0e0 (approximately). Mathematically,
tan(π/2) is positive infinity. But because math:pi() div 2 returns an
approximation, the result of math:tan(math:pi() div 2) will be a large but
finite number.

and similarly for the negative case.

The test that is generated will then test that abs(1 div math:tan(math:pi() div
2)) - 0.0e0 is less than some epsilon.

I have changed the stylesheet that generates the tests to produce stable names,
which are needed for the QT3 results reporting process (as this compares
reported test results against the current test catalog).

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 25 October 2016 14:05:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:02 UTC