Scroll to navigation

std::subtract_with_carry_engine::max(3) C++ Standard Libary std::subtract_with_carry_engine::max(3)

NAME

std::subtract_with_carry_engine::max - std::subtract_with_carry_engine::max

Synopsis

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

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

Return value

\(\scriptsize 2^w-1 \)2w -1

Complexity

Constant.

See also

min gets the smallest possible value in the output range [static] (public static member function)

2026.11.10 http://cppreference.com