[Webkit-unassigned] [Bug 29956] Math.random() gives too low values on Win32 when _CRT_RAND_S is not defined

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 1 11:06:47 PDT 2009


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


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #40430|review?                     |review-
               Flag|                            |




--- Comment #2 from Darin Adler <darin at apple.com>  2009-10-01 11:06:47 PDT ---
(From update of attachment 40430)
I think we need more bits of randomness. I'm not sure how many. It seems we are
using 32 bits of randomness in the first two cases, and 53 bits in the next
two. Having a Windows code path that uses only 30 bits seems wrong, but perhaps
the 32-bit ones are also wrong.

review- for now based on that issue, but I could be convinced I am wrong.

-- 
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