mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-24 08:41:26 -04:00
removed MT19937 which is not used anymore. Changed N from 624 to 1024 to reduce cost
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6497 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
207d86543c
commit
4c53d8dc5b
2 changed files with 4 additions and 37 deletions
|
@ -51,12 +51,7 @@ class RSRandom
|
|||
private:
|
||||
static RsMutex rndMtx ;
|
||||
|
||||
static const uint32_t N = 624;
|
||||
static const uint32_t M = 397;
|
||||
|
||||
static const uint32_t MATRIX_A = 0x9908b0dfUL;
|
||||
static const uint32_t UMASK = 0x80000000UL;
|
||||
static const uint32_t LMASK = 0x7fffffffUL;
|
||||
static const uint32_t N = 1024;
|
||||
|
||||
static void locked_next_state() ;
|
||||
static uint32_t index ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue