Scroll to navigation

std::linear_congruential_engine::min(3) C++ Standard Libary std::linear_congruential_engine::min(3)

NAME

std::linear_congruential_engine::min - std::linear_congruential_engine::min

Synopsis

static constexpr result_type min(); (since C++11)

Returns the minimum value potentially generated by the random-number engine.

Return value

c == 0u ? 1u: 0u;

Complexity

Constant.

See also

max gets the largest possible value in the output range [static] (public static member function)

2026.11.10 http://cppreference.com