static constexpr result_type max();
概要
生成し得る値の最大値を取得する。
戻り値
2^w - 1
を返す。
計算量
定数時間
例
#include <iostream>
#include <random>
int main()
{
std::uint32_t max_value = std::philox4x32::max();
std::cout << max_value << std::endl;
}
出力
4294967295
バージョン
言語
- C++26
処理系
- Clang: 19 ❌
- GCC: 14 ❌
- ICC: ??
- Visual C++: ??