blob: 75cf4bcb992415225f5647e3c5c8fa7a400166f1 [file] [log] [blame]
Name: mt19937ar
Version: 0
Date: 2002/1/26
License: BSD
Security Critical: yes
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 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.