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] |
Detailed Description
Slow and precise uniform [0.0, 1.0) pseudo-random generator period: at least 2^48, random bits: at least 31.
- Warning
- Seed is not the same as in the fast generator
random_uniform_fast
Member Function Documentation
value_type random_uniform_slow::operator() |
( |
| ) |
const |
|
inline |
Returns a random number from [0.0, 1.0)
The documentation for this struct was generated from the following file: