BDE 4.14.0 Production release
|
#include <bdlb_random.h>
Static Public Member Functions | |
static int | generate15 (int *nextSeed, int seed) |
static int | generate15 (int *seed) |
static bsl::uint32_t | generatePcg (PcgRandomGenerator *generator) |
This struct
provides a namespace for a suite of functions used for random-number generation.
|
inlinestatic |
Return a 15-bit random number in the range [ 0 .. 32,767 ]
generated from the specified seed
, and load into the specified nextSeed
a value suitable for generating the next random number.
|
inlinestatic |
Return a 15-bit random number in the range [ 0 .. 32,767 ]
generated from the specified seed
, and load into seed
a value suitable for generating the next random number.
|
inlinestatic |
Return the next unsigned 32-bit random number generated from the specified PCG-based generator
.