|
Scopira
20080306
|
#include <linconrandom.h>
Public Types | |
| typedef int32_t | result_type |
Public Member Functions | |
| int32_t | min (void) const |
| int32_t | max (void) const |
| rand48 (int32_t x0=1) | |
| rand48 (uint64_t x0) | |
| void | seed (int32_t x0=1) |
| void | seed (uint64_t x0) |
| int32_t | operator() (void) |
Static Public Attributes | |
| static const bool | has_fixed_range = true |
| static const int32_t | min_value = 0 |
An emulatation of the C-like rand48 function. cycle length: 2^48-1
Taken from boost.