public member function

std::extreme_value_distribution::max

<random>
result_type max() const;
Maximum value
Returns the greatest least upper bound of the range of values potentially returned by member operator().

Because extreme_value_distribution represents an unbounded distribution, the function returns the maximum value representable by result_type:
numeric_limits<result_type>::max()

Parameters

none

Return value

numeric_limits<result_type>::min()
result_type is a member type, defined as an alias of the first class template parameter (RealType).

Complexity

Constant.

See also