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

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

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