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