• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Name: mt19937ar
2URL: http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html
3Version: 0
4Date: 2002/1/26
5License: BSD
6Security Critical: yes
7
8Description:
9This is Chrome's locally patched copy of Takuji Nishimura and Makoto
10Matsumoto's Mersenne Twister pseudorandom number generator.
11
12Note: Once Chromium moves to C++11, this can be removed in favor
13of C++'s <random>.
14
15Local Modifications:
16Renamed mt19937ar.c to mt19937ar.cc and modified it to encapsulate its
17state in a C++ class, rather than using global state. Changed the code to
18use uint32 types instead of unsigned longs. Added a header file.
19Additionally, unnecessary functions (in particular, main) were removed.
20