A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.com/reference/random/ranlux48/ below:

class

<random>

std::ranlux48
typedef discard_block_engine <ranlux48_base, 389, 11> ranlux48;

Ranlux 48 generator

A subtract-with-carry pseudo-random generator of 48-bit numbers with accelerated advancement.

It is an instantiation of the discard_block_engine adaptor on a subtract_with_carry_engine with the following template parameters:


parameter name value Engine base engine ranlux48_base p block size 389 r used block 11
Member types The following alias is a member type of ranlux48:

member type definition notes result_type uint_fast64_t The type of the numbers generated.


Member functions As a discard_block_engine type, it has the following member functions:
(constructor)
Construct discard-block engine (public member function)
min
Minimum value (public static member function)
max
Maximum value (public static member function)
seed
Seed base engine (public member function)
operator()
Generate random number (public member function)
discard
Advance internal state (public member function)

Non-member functions As a discard_block_engine type, the following operator overloads may be applied to it:
operator<<
Insert into output stream (function template)
relational operators
Relational operators (function template)

Member constexpr constants member constant definition notes block_size 389 The number of elements in each block. used_block 11 The number of elements in the block that are used (not discarded).
See also
discard_block_engine
Discard-block random number engine adaptor (class template)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4