<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Use a better RNG for Math.random()"
   href="https://bugs.webkit.org/show_bug.cgi?id=151641#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Use a better RNG for Math.random()"
   href="https://bugs.webkit.org/show_bug.cgi?id=151641">bug 151641</a>
              from <span class="vcard"><a class="email" href="mailto:oliver&#64;apple.com" title="Oliver Hunt &lt;oliver&#64;apple.com&gt;"> <span class="fn">Oliver Hunt</span></a>
</span></b>
        <pre>If we really do consider more than 32bits necessary id just move up to a 64bit variant of gamerand which should not have a significant perf impact, then value &amp; (2^53-1) / 2^53 (I can recall if the rand includes 1 as a valid result).

Has someone done something to find it's aggressively non-uniform in some space?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>