WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
CLOSED DUPLICATE of
bug 4026
4027
Math.random() is poort
https://bugs.webkit.org/show_bug.cgi?id=4027
Summary
Math.random() is poort
Finlay Dobbie
Reported
2005-07-16 04:51:53 PDT
Math.random() appears to be unseeded, and uses the rand() function which is known to perform poorly on OS X (IIRC, anyway). A partial workaround is to srand(time(NULL)) from the host application.
Attachments
Add attachment
proposed patch, testcase, etc.
Finlay Dobbie
Comment 1
2005-07-16 04:53:37 PDT
Whee, looks like a double submit. I've never done that before. *** This bug has been marked as a duplicate of
4026
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug