std::linear...engine::max(3)
π std::linear...engine::max(3) π
π NAME π
std::linear_congruential_engine::max - std::linear_congruential_engine::max
okay so bestie, welcome to the C++ Standard Libary manual, section 3 β yes, thatβs the sourceβs spelling, and we are absolutely not fixing it. This page is about std::linear_congruential_engine::max, and itβs lowkey iconic. π
β¨ Synopsis β¨
static constexpr result_type max(); (since C++11)
Bestie, this is the whole signature. It returns the maximum value potentially generated by the random-number engine. This value is one less than modulus. No cap, thatβs the deal. β¨
πΈ Parameters πΈ
(none) β literally none. not a single parameter, bestie. π
π¦ Return value π¦
The maximum potentially generated value. periodt. π«Ά
π« Complexity π«
Constant. so itβs giving no drama. β
π See also π
minβ gets the smallest possible value in the output range[static](C++11) (public static member function)
xoxo, this page came from http://cppreference.com on 2024.06.10 β std::linear...engine::max(3) ππ§
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms