std::mersen..._engine::min(3)
π NAME π
std::mersenne_twister_engine::min β std::mersenne_twister_engine::min β¨
okay bestie, you're on the std::mersen..._engine::min(3) page, and the manual it lives in is C++ Standard Libary (that spelling is exactly what the header says π). This is the min member of the mersenne twister engine, and it's here to tell you the smallest value the engine can possibly throw at you. π
β¨ Synopsis β¨
static constexpr result_type min(); (since C++11)
So it's a static constexpr function called min(), returning result_type, and it's been around since C++11. It returns the minimum value potentially generated by the random-number engine. This value is equal to 0u. πΈ
π Parameters π
(none) β literally none, no arguments, not even one tiny parameter, no cap π
π¦ Return value π¦
The minimum potentially generated value. that's the whole vibe: min() gives you the smallest potential output. β
π Complexity π
Constant. lowkey the easiest complexity to remember: constant, always. β¨
π See also π
maxβ gets the largest possible value in the output range[static](C++11) (public static member function) π«Ά
mwah π β source/version: http://cppreference.com, date: 2024.06.10, page: std::mersen..._engine::min(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