#include <limits.h>
#include "SCA_RandomNumberGenerator.h"
Go to the source code of this file.
Defines | |
#define | N 624 |
Generate random numbers that can be used by other components. More... | |
#define | M 397 |
#define | MATRIX_A 0x9908b0df |
#define | UPPER_MASK 0x80000000 |
#define | LOWER_MASK 0x7fffffff |
#define | TEMPERING_MASK_B 0x9d2c5680 |
#define | TEMPERING_MASK_C 0xefc60000 |
#define | TEMPERING_SHIFT_U(y) (y >> 11) |
#define | TEMPERING_SHIFT_S(y) (y << 7) |
#define | TEMPERING_SHIFT_T(y) (y << 15) |
#define | TEMPERING_SHIFT_L(y) (y >> 18) |
|
Definition at line 45 of file SCA_RandomNumberGenerator.cpp. |
|
Definition at line 42 of file SCA_RandomNumberGenerator.cpp. |
|
Definition at line 43 of file SCA_RandomNumberGenerator.cpp. |
|
Generate random numbers that can be used by other components. We convert to different types/distributions elsewhere. This just delivers a clean, random bitvector. Version:
Definition at line 41 of file SCA_RandomNumberGenerator.cpp. |
|
Definition at line 48 of file SCA_RandomNumberGenerator.cpp. |
|
Definition at line 49 of file SCA_RandomNumberGenerator.cpp. |
|
Definition at line 53 of file SCA_RandomNumberGenerator.cpp. Referenced by SCA_RandomNumberGenerator::Draw(). |
|
Definition at line 51 of file SCA_RandomNumberGenerator.cpp. Referenced by SCA_RandomNumberGenerator::Draw(). |
|
Definition at line 52 of file SCA_RandomNumberGenerator.cpp. Referenced by SCA_RandomNumberGenerator::Draw(). |
|
Definition at line 50 of file SCA_RandomNumberGenerator.cpp. Referenced by SCA_RandomNumberGenerator::Draw(). |
|
Definition at line 44 of file SCA_RandomNumberGenerator.cpp. |