[Webkit-unassigned] [Bug 150403] New: JSC Math.pow tests makes assumptions on precision

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 21 11:42:44 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=150403

            Bug ID: 150403
           Summary: JSC Math.pow tests makes assumptions on precision
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: guijemont at igalia.com

The test in Source/JavaScriptCore/tests/stress/math-pow-with-constants.js assumes the results of Math.pow() calls would be of a given precision, even though the spec[1] says that Math.pow():

  Returns an implementation-dependent approximation to the result of raising x to the power y.


At least on MIPS, the precision of the result is different on some tests.

[1] http://www.ecma-international.org/ecma-262/6.0/#sec-math.pow

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151021/d69a6fd8/attachment.html>


More information about the webkit-unassigned mailing list