Return the next unsigned 32‐bit random number generated from the specified PCG‐based generator.

Synopsis

Declared in <bdlb_random.h>

static
uint32_t
generatePcg(PcgRandomGenerator* generator);

Return Value

the next unsigned 32‐bit random number

Parameters

Name

Description

generator

PCG‐based generator used to produce the random number

Created with MrDocs