名稱空間
變體
操作

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

來自 cppreference.com
< cpp‎ | 數值‎ | 隨機‎ | philox_engine
 
 
 
 
 
static constexpr result_type max();
(C++26 起)

返回隨機數引擎可能生成的最大值。

[編輯] 返回值

2w
-1

[編輯] 複雜度

常數時間。

[編輯] 參閱

[靜態]
獲取輸出範圍中的最小可能值
(public static member function) [編輯]