Blender V2.61 - r43446
|
Go to the source code of this file.
Defines | |
#define | N 624 |
#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 in file SCA_RandomNumberGenerator.cpp.
#define LOWER_MASK 0x7fffffff |
Definition at line 47 of file SCA_RandomNumberGenerator.cpp.
Referenced by SCA_RandomNumberGenerator::Draw().
#define M 397 |
Definition at line 44 of file SCA_RandomNumberGenerator.cpp.
Referenced by SCA_RandomNumberGenerator::Draw().
#define MATRIX_A 0x9908b0df |
Definition at line 45 of file SCA_RandomNumberGenerator.cpp.
Referenced by SCA_RandomNumberGenerator::Draw().
#define N 624 |
Generate random numbers that can be used by other components. We convert to different types/distributions elsewhere. This just delivers a clean, random bitvector.
Definition at line 43 of file SCA_RandomNumberGenerator.cpp.
Referenced by SCA_RandomNumberGenerator::Draw().
#define TEMPERING_MASK_B 0x9d2c5680 |
Definition at line 50 of file SCA_RandomNumberGenerator.cpp.
Referenced by SCA_RandomNumberGenerator::Draw().
#define TEMPERING_MASK_C 0xefc60000 |
Definition at line 51 of file SCA_RandomNumberGenerator.cpp.
Referenced by SCA_RandomNumberGenerator::Draw().
#define TEMPERING_SHIFT_L | ( | y | ) | (y >> 18) |
Definition at line 55 of file SCA_RandomNumberGenerator.cpp.
Referenced by SCA_RandomNumberGenerator::Draw().
#define TEMPERING_SHIFT_S | ( | y | ) | (y << 7) |
Definition at line 53 of file SCA_RandomNumberGenerator.cpp.
Referenced by SCA_RandomNumberGenerator::Draw().
#define TEMPERING_SHIFT_T | ( | y | ) | (y << 15) |
Definition at line 54 of file SCA_RandomNumberGenerator.cpp.
Referenced by SCA_RandomNumberGenerator::Draw().
#define TEMPERING_SHIFT_U | ( | y | ) | (y >> 11) |
Definition at line 52 of file SCA_RandomNumberGenerator.cpp.
Referenced by SCA_RandomNumberGenerator::Draw().
#define UPPER_MASK 0x80000000 |
Definition at line 46 of file SCA_RandomNumberGenerator.cpp.
Referenced by SCA_RandomNumberGenerator::Draw().