Generates a random value in the interval [a, b).]

Synopsis

Declared in <absl/random/uniform_real_distribution.h>

template<typename URBG>
result_type
operator()(URBG& gen);

Return Value

A random value in the half‐open interval [a, b).]

Parameters

Name

Description

gen

The uniform random bit generator.

Created with MrDocs