[#BloombergLP-bdlb-Random-generatePcg]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Random.adoc[Random]::generatePcg
:relfileprefix: ../../../
:mrdocs:

Return the next unsigned 32&hyphen;bit random number generated from the specified PCG&hyphen;based `generator`&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;random&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
uint32&lowbar;t
generatePcg(xref:BloombergLP/bdlb/PcgRandomGenerator.adoc[PcgRandomGenerator]* generator);
----

== Return Value

the next unsigned 32&hyphen;bit random number

== Parameters

[cols="1,4"]
|===
| Name| Description
| *generator*
| PCG&hyphen;based generator used to produce the random number
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
