[#BloombergLP-bdlb-PcgRandomGenerator-2constructor-04]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/PcgRandomGenerator.adoc[PcgRandomGenerator]::PcgRandomGenerator
:relfileprefix: ../../../
:mrdocs:

Create a `PcgRandomGenerator` object seeded with zeros&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
PcgRandomGenerator();
----

== Description

Create a `PcgRandomGenerator` object and seed it with the optionally specified `initState` and `streamSelector`&period; If `initState` and `streamSelector` are not specified, 0 is used for both&period; The highest&hyphen;order bit of `streamSelector` is ignored&period; Note that invoking different instances created with the identical `initState` and `streamSelector` will result in the same sequence of random numbers from subsequent invocations of `generate()`&period;


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