random generator with 48bit integer arithmentic More...
#include <randomgenerator.h>
Public Member Functions | |
_RandGen () | |
void | init (long int seedval) |
double | rand () |
returns a value in [0,1) | |
Public Attributes | |
union { | |
struct drand48_data buffer | |
char dummy [24] | |
}; |
random generator with 48bit integer arithmentic
_RandGen | ( | ) | [inline] |
void init | ( | long int | seedval | ) | [inline] |
double rand | ( | ) | [inline] |
returns a value in [0,1)
union { ... } |
struct drand48_data buffer |
char dummy[24] |