Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(892)

Unified Diff: third_party/mt19937ar/README.chromium

Issue 10830318: Use a different algorithm with the low entropy source for field trials. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/mt19937ar/LICENSE ('k') | third_party/mt19937ar/mt19937ar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mt19937ar/README.chromium
===================================================================
--- third_party/mt19937ar/README.chromium (revision 0)
+++ third_party/mt19937ar/README.chromium (revision 0)
@@ -0,0 +1,19 @@
+Name: mt19937ar
+URL: http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html
+Version: 0
+Date: 2002/1/26
+License: BSD
+Security Critical: yes
+
+Description:
+This is Chrome's locally patched copy of Takuji Nishimura and Makoto
+Matsumoto's Mersenne Twister pseudorandom number generator.
+
+Note: Once Chromium moves to C++11, this can be removed in favor
+of C++'s <random>.
+
+Local Modifications:
+Renamed mt19937ar.c to mt19937ar.cc and modified it to encapsulate its
+state in a C++ class, rather than using global state. Changed the code to
+use uint32 types instead of unsigned longs. Added a header file.
+Additionally, unnecessary functions (in particular, main) were removed.
« no previous file with comments | « third_party/mt19937ar/LICENSE ('k') | third_party/mt19937ar/mt19937ar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698