W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2012

[Bug 19783] Math tests that use namespace prefixes in the assertions

From: <bugzilla@jessica.w3.org>
Date: Thu, 08 Nov 2012 13:34:45 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-19783-523-yjlUvNR68W@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19783

Tim Mills <tim@cbcl.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |tim@cbcl.co.uk
         Resolution|FIXED                       |---

--- Comment #3 from Tim Mills <tim@cbcl.co.uk> ---
There is an error in math-atan2-004.

In

        <test>math:atan2(-0.0e0, -0.0e0)</test>
        <result>
            <assert>abs($result - 3.141592653589793e0) lt 1e-14</assert>
        </result>

According to Wikipedia, atan2(−0, −0) = −π

So the assertion should be

<assert>abs($result + 3.141592653589793e0) lt 1e-14</assert>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 8 November 2012 13:34:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:40 UTC