Constructs a distribution over the closed interval [min, max].
Synopsis
Declared in <absl/random/log_uniform_int_distribution.h>
explicit
log_uniform_int_distribution(
result_type min,
result_type max = (std::numeric_limits<result_type>::max)(),
result_type base = 2);
Parameters
Name |
Description |
min |
The lower bound of the closed interval. |
max |
The upper bound of the closed interval. |
base |
The base of the logarithm. |
Created with MrDocs