命名空间
变体
操作

std::philox_engine<UIntType,w,n,r,consts>::max

来自 cppreference.cn
< cpp‎ | numeric‎ | random‎ | philox engine
 
 
 
 
 
static constexpr result_type max();
(自 C++26 起)

返回随机数引擎可能生成的最大值。

[编辑] 返回值

2w
-1

[编辑] 复杂度

常数。

[编辑] 参见

[静态]
获取输出范围内的最小值
(公共静态成员函数) [编辑]