STXXL
1.4-dev
|
Slow and precise uniform [0.0, 1.0) pseudo-random generator period: at least 2^48, random bits: at least 31.
random_uniform_fast
Public Types | |
typedef double | value_type |
Public Member Functions | |
_dorand48 (state48) | |
value_type | operator() () const |
Returns a random number from [0.0, 1.0) More... | |
Static Public Member Functions | |
static void | _dorand48 (unsigned short xseed[3]) |
static double | _erand48 (unsigned short xseed[3]) |
Public Attributes | |
unsigned short | state48 [3] |
state48 [1] = (unsigned short)(seed >> 16) | |
typedef double stxxl::random_uniform_slow::value_type |
|
inlinestatic |
stxxl::random_uniform_slow::_dorand48 | ( | state48 | ) |
|
inlinestatic |
|
inline |
|
mutable |
stxxl::random_uniform_slow::state48[2] = (unsigned short)(seed >> 16) |