tmp/tmphwdbo3bk/{from.md → to.md}
RENAMED
|
@@ -17,12 +17,12 @@ public:
|
|
| 17 |
|
| 18 |
// engine characteristics
|
| 19 |
static constexpr result_type multiplier = a;
|
| 20 |
static constexpr result_type increment = c;
|
| 21 |
static constexpr result_type modulus = m;
|
| 22 |
-
static constexpr result_type min() { return c == 0u ? 1u: 0u }
|
| 23 |
-
static constexpr result_type max() { return m - 1u }
|
| 24 |
static constexpr result_type default_seed = 1u;
|
| 25 |
|
| 26 |
// constructors and seeding functions
|
| 27 |
explicit linear_congruential_engine(result_type s = default_seed);
|
| 28 |
template<class Sseq> explicit linear_congruential_engine(Sseq& q);
|
|
|
|
| 17 |
|
| 18 |
// engine characteristics
|
| 19 |
static constexpr result_type multiplier = a;
|
| 20 |
static constexpr result_type increment = c;
|
| 21 |
static constexpr result_type modulus = m;
|
| 22 |
+
static constexpr result_type min() { return c == 0u ? 1u: 0u; }
|
| 23 |
+
static constexpr result_type max() { return m - 1u; }
|
| 24 |
static constexpr result_type default_seed = 1u;
|
| 25 |
|
| 26 |
// constructors and seeding functions
|
| 27 |
explicit linear_congruential_engine(result_type s = default_seed);
|
| 28 |
template<class Sseq> explicit linear_congruential_engine(Sseq& q);
|