[Webkit-unassigned] [Bug 111533] Replace Mersenne Twister RNG with a simple but fast RNG

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 6 00:22:16 PST 2013


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





--- Comment #2 from Eric Seidel <eric at webkit.org>  2013-03-06 00:24:41 PST ---
(From update of attachment 191670)
View in context: https://bugs.webkit.org/attachment.cgi?id=191670&action=review

> Source/WTF/wtf/RandomNumber.cpp:61
> +    g_seed = g_seed + (g_seed * g_seed | 5);
> +    return static_cast<uint32_t>(g_seed >> 32);

It feels odd to write back to the seed?  Is this typical?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list