[#absl-uniform_real_distribution-operator_call-04] = xref:absl.adoc[absl]::xref:absl/uniform_real_distribution.adoc[uniform_real_distribution]::operator() :relfileprefix: ../../ :mrdocs: Function call operators == Synopses Declared in `<absl/random/uniform_real_distribution.h>` Generates a random value in the interval [a, b).] [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename URBG> xref:absl/uniform_real_distribution/result_type.adoc[result_type] xref:absl/uniform_real_distribution/operator_call-09.adoc[operator()](URBG& gen); ---- [.small]#xref:absl/uniform_real_distribution/operator_call-09.adoc[_» more..._]# Generates a random value using the given parameter set. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename URBG> xref:absl/uniform_real_distribution/result_type.adoc[uniform_real_distribution<RealType>::result_type] xref:absl/uniform_real_distribution/operator_call-07.adoc[operator()]( URBG& gen, xref:absl/uniform_real_distribution/param_type.adoc[param_type] const& p); ---- [.small]#xref:absl/uniform_real_distribution/operator_call-07.adoc[_» more..._]# == Return Value A random value in the half‐open interval [a, b).] == Parameters [cols="1,4"] |=== | Name| Description | *gen* | The uniform random bit generator. | *p* | The parameter set to use for this call. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#