Slow and precise uniform [0.0, 1.0) pseudo-random generator period: at least 2^48, random bits: at least 31. More...
#include <rand.h>
Public Types | |
typedef double | value_type |
Public Member Functions | |
random_uniform_slow (unsigned seed=0) | |
value_type | operator() () const |
Returns a random number from [0.0, 1.0). | |
Public Attributes | |
unsigned short | state48 [3] |
Slow and precise uniform [0.0, 1.0) pseudo-random generator period: at least 2^48, random bits: at least 31.
random_uniform_fast
value_type random_uniform_slow::operator() | ( | ) | const [inline] |
Returns a random number from [0.0, 1.0).