std::mersen..._engine::max(3)
π std::mersenne_twister_engine::max(3) π
okay so this is a C++ Standard Libary page, section 3, and it's literally all about std::mersenne_twister_engine::max. bestie, it's giving βtiny but iconic static member functionβ energy. π
πΈ NAME πΈ
std::mersenne_twister_engine::max - std::mersenne_twister_engine::max
β¨ Synopsis β¨
static constexpr result_type max(); (since C++11)
Returns the maximum value potentially generated by the random-number engine. This value is equal to 2w - 1, where w is the template parameter also accessible as static member word_size.
π Parameters π
(none) β zero parameters, bestie. Not a single one. π«Ά
π¦ Return value π¦
The maximum potentially generated value. That's the whole vibe. β¨
π Complexity π
Constant. No notes. π₯
π See also π
minβ gets the smallest possible value in the output range;[static](C++11) (public static member function).
π source/version: http://cppreference.com Β· date: 2024.06.10 Β· page: std::mersen..._engine::max(3) β mwah, bye bestie! π
π¦ 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