absl::uniform_real_distribution::uniform_real_distribution

Constructs a distribution over the half-open interval [lo, hi).]

Synopsis

Declared in <absl/random/uniform_real_distribution.h>

explicit
uniform_real_distribution(
    result_type lo,
    result_type hi = 1);

Parameters

NameDescription
loThe lower bound of the half-open interval.
hiThe upper bound of the half-open interval.