std::mersen..._engine::min(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– 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