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

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