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

Return a 15&hyphen;bit random number in the range `&lsqb; 0 &period;&period; 32,767 &rsqb;` generated from the specified `seed`, and load into the specified `nextSeed` a value suitable for generating the next random number&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
generate15(
    int* nextSeed,
    int seed);
----


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