[Webkit-unassigned] [Bug 151641] New: Use a better RNG for Math.random()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 28 05:51:36 PST 2015


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

            Bug ID: 151641
           Summary: Use a better RNG for Math.random()
    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: jdemooij at mozilla.com
                CC: barraclough at apple.com, ggaren at apple.com,
                    oliver at apple.com

The GameRand-based RNG Safari/JSC uses is very weak. Furthermore, it only uses 32 bits of precision. I blogged about this here:

http://jandemooij.nl/blog/2015/11/27/math-random-and-32-bit-precision/

V8 moved to a better RNG and we're switching the one in SpiderMonkey as well. JSC should probably do the same.

-- 
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/20151128/fbfa9a85/attachment.html>


More information about the webkit-unassigned mailing list