BloombergLP::bdlb::PcgRandomGenerator::PcgRandomGenerator

Create a PcgRandomGenerator seeded with the specified initState and streamSelector. The highest-order bit of streamSelector is ignored. Note that instances created with identical seeds produce the same sequence from subsequent generate() calls.

Synopsis

Declared in <bdlb_pcgrandomgenerator.h>

PcgRandomGenerator(
    uint64_t initState,
    uint64_t streamSelector);