changa 3.5
|
basic random number generator This is implemented as an object so that it can easily be used in threads: one Rand instance per thread. More...
#include <rand.h>
Public Member Functions | |
Rand (u_int64_t j=0) | |
u_int64_t | int64 () |
return 64 bit random number | |
double | dbl () |
return random double 0<x<1 | |
u_int32_t | int32 () |
return 32 bit random number | |
basic random number generator This is implemented as an object so that it can easily be used in threads: one Rand instance per thread.