[Webkit-unassigned] [Bug 151641] Use a better RNG for Math.random()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Nov 28 09:55:10 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=151641
--- Comment #1 from Oliver Hunt <oliver at apple.com> ---
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 & (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?
--
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/7e705073/attachment.html>
More information about the webkit-unassigned
mailing list