Lines Matching +full:x +full:- +full:max

1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
38 static constexpr result_type max() { return m - 1u;}
56 operator==(const linear_congruential_engine<UIntType, a, c, m>& x,
61 operator!=(const linear_congruential_engine<UIntType, a, c, m>& x,
68 const linear_congruential_engine<UIntType, a, c, m>& x);
74 linear_congruential_engine<UIntType, a, c, m>& x);
100 static constexpr result_type max() { return 2^w - 1; }
121 const mersenne_twister_engine<UIntType, w, n, m, r, a, u, d, s, b, t, c, l, f>& x,
129 const mersenne_twister_engine<UIntType, w, n, m, r, a, u, d, s, b, t, c, l, f>& x,
138 const mersenne_twister_engine<UIntType, w, n, m, r, a, u, d, s, b, t, c, l, f>& x);
146 mersenne_twister_engine<UIntType, w, n, m, r, a, u, d, s, b, t, c, l, f>& x);
160 static constexpr result_type max() { return m-1; }
179 const subtract_with_carry_engine<UIntType, w, s, r>& x,
185 const subtract_with_carry_engine<UIntType, w, s, r>& x,
192 const subtract_with_carry_engine<UIntType, w, s, r>& x);
198 subtract_with_carry_engine<UIntType, w, s, r>& x);
211 static constexpr result_type max() { return Engine::max(); }
234 const discard_block_engine<Engine, p, r>& x,
240 const discard_block_engine<Engine, p, r>& x,
247 const discard_block_engine<Engine, p, r>& x);
253 discard_block_engine<Engine, p, r>& x);
264 static constexpr result_type max() { return 2^w - 1; }
286 const independent_bits_engine<Engine, w, UIntType>& x,
292 const independent_bits_engine<Engine, w, UIntType>& x,
299 const independent_bits_engine<Engine, w, UIntType>& x);
305 independent_bits_engine<Engine, w, UIntType>& x);
317 static constexpr result_type max() { return Engine::max; }
340 const shuffle_order_engine<Engine, k>& x,
346 const shuffle_order_engine<Engine, k>& x,
353 const shuffle_order_engine<Engine, k>& x);
359 shuffle_order_engine<Engine, k>& x);
394 static constexpr result_type max() { return numeric_limits<result_type>::max(); }
397 explicit random_device(const string& token = implementation-defined); // before C++20
398 random_device() : random_device(implementation-defined) {} // C++20
459 IntType b = numeric_limits<IntType>::max());
464 friend bool operator==(const param_type& x, const param_type& y);
465 friend bool operator!=(const param_type& x, const param_type& y);
470 IntType b = numeric_limits<IntType>::max()); // before C++20
473 IntType b = numeric_limits<IntType>::max()); // C++20
489 result_type max() const;
491 friend bool operator==(const uniform_int_distribution& x,
493 friend bool operator!=(const uniform_int_distribution& x,
500 const uniform_int_distribution& x);
506 uniform_int_distribution& x);
527 friend bool operator==(const param_type& x, const param_type& y);
528 friend bool operator!=(const param_type& x, const param_type& y);
550 result_type max() const;
552 friend bool operator==(const uniform_real_distribution& x,
554 friend bool operator!=(const uniform_real_distribution& x,
561 const uniform_real_distribution& x);
567 uniform_real_distribution& x);
585 friend bool operator==(const param_type& x, const param_type& y);
586 friend bool operator!=(const param_type& x, const param_type& y);
607 result_type max() const;
609 friend bool operator==(const bernoulli_distribution& x,
611 friend bool operator!=(const bernoulli_distribution& x,
618 const bernoulli_distribution& x);
624 bernoulli_distribution& x);
644 friend bool operator==(const param_type& x, const param_type& y);
645 friend bool operator!=(const param_type& x, const param_type& y);
667 result_type max() const;
669 friend bool operator==(const binomial_distribution& x,
671 friend bool operator!=(const binomial_distribution& x,
678 const binomial_distribution& x);
684 binomial_distribution& x);
703 friend bool operator==(const param_type& x, const param_type& y);
704 friend bool operator!=(const param_type& x, const param_type& y);
725 result_type max() const;
727 friend bool operator==(const geometric_distribution& x,
729 friend bool operator!=(const geometric_distribution& x,
736 const geometric_distribution& x);
742 geometric_distribution& x);
762 friend bool operator==(const param_type& x, const param_type& y);
763 friend bool operator!=(const param_type& x, const param_type& y);
785 result_type max() const;
787 friend bool operator==(const negative_binomial_distribution& x,
789 friend bool operator!=(const negative_binomial_distribution& x,
796 const negative_binomial_distribution& x);
802 negative_binomial_distribution& x);
821 friend bool operator==(const param_type& x, const param_type& y);
822 friend bool operator!=(const param_type& x, const param_type& y);
843 result_type max() const;
845 friend bool operator==(const poisson_distribution& x,
847 friend bool operator!=(const poisson_distribution& x,
854 const poisson_distribution& x);
860 poisson_distribution& x);
879 friend bool operator==(const param_type& x, const param_type& y);
880 friend bool operator!=(const param_type& x, const param_type& y);
901 result_type max() const;
903 friend bool operator==(const exponential_distribution& x,
905 friend bool operator!=(const exponential_distribution& x,
912 const exponential_distribution& x);
918 exponential_distribution& x);
938 friend bool operator==(const param_type& x, const param_type& y);
939 friend bool operator!=(const param_type& x, const param_type& y);
961 result_type max() const;
963 friend bool operator==(const gamma_distribution& x,
965 friend bool operator!=(const gamma_distribution& x,
972 const gamma_distribution& x);
978 gamma_distribution& x);
998 friend bool operator==(const param_type& x, const param_type& y);
999 friend bool operator!=(const param_type& x, const param_type& y);
1021 result_type max() const;
1023 friend bool operator==(const weibull_distribution& x,
1025 friend bool operator!=(const weibull_distribution& x,
1032 const weibull_distribution& x);
1038 weibull_distribution& x);
1058 friend bool operator==(const param_type& x, const param_type& y);
1059 friend bool operator!=(const param_type& x, const param_type& y);
1081 result_type max() const;
1083 friend bool operator==(const extreme_value_distribution& x,
1085 friend bool operator!=(const extreme_value_distribution& x,
1092 const extreme_value_distribution& x);
1098 extreme_value_distribution& x);
1118 friend bool operator==(const param_type& x, const param_type& y);
1119 friend bool operator!=(const param_type& x, const param_type& y);
1141 result_type max() const;
1143 friend bool operator==(const normal_distribution& x,
1145 friend bool operator!=(const normal_distribution& x,
1152 const normal_distribution& x);
1158 normal_distribution& x);
1178 friend bool operator==(const param_type& x, const param_type& y);
1179 friend bool operator!=(const param_type& x, const param_type& y);
1201 result_type max() const;
1203 friend bool operator==(const lognormal_distribution& x,
1205 friend bool operator!=(const lognormal_distribution& x,
1212 const lognormal_distribution& x);
1218 lognormal_distribution& x);
1237 friend bool operator==(const param_type& x, const param_type& y);
1238 friend bool operator!=(const param_type& x, const param_type& y);
1259 result_type max() const;
1261 friend bool operator==(const chi_squared_distribution& x,
1263 friend bool operator!=(const chi_squared_distribution& x,
1270 const chi_squared_distribution& x);
1276 chi_squared_distribution& x);
1296 friend bool operator==(const param_type& x, const param_type& y);
1297 friend bool operator!=(const param_type& x, const param_type& y);
1319 result_type max() const;
1321 friend bool operator==(const cauchy_distribution& x,
1323 friend bool operator!=(const cauchy_distribution& x,
1330 const cauchy_distribution& x);
1336 cauchy_distribution& x);
1356 friend bool operator==(const param_type& x, const param_type& y);
1357 friend bool operator!=(const param_type& x, const param_type& y);
1379 result_type max() const;
1381 friend bool operator==(const fisher_f_distribution& x,
1383 friend bool operator!=(const fisher_f_distribution& x,
1390 const fisher_f_distribution& x);
1396 fisher_f_distribution& x);
1415 friend bool operator==(const param_type& x, const param_type& y);
1416 friend bool operator!=(const param_type& x, const param_type& y);
1437 result_type max() const;
1439 friend bool operator==(const student_t_distribution& x,
1441 friend bool operator!=(const student_t_distribution& x,
1448 const student_t_distribution& x);
1454 student_t_distribution& x);
1478 friend bool operator==(const param_type& x, const param_type& y);
1479 friend bool operator!=(const param_type& x, const param_type& y);
1504 result_type max() const;
1506 friend bool operator==(const discrete_distribution& x,
1508 friend bool operator!=(const discrete_distribution& x,
1515 const discrete_distribution& x);
1521 discrete_distribution& x);
1548 friend bool operator==(const param_type& x, const param_type& y);
1549 friend bool operator!=(const param_type& x, const param_type& y);
1579 result_type max() const;
1581 friend bool operator==(const piecewise_constant_distribution& x,
1583 friend bool operator!=(const piecewise_constant_distribution& x,
1590 const piecewise_constant_distribution& x);
1596 piecewise_constant_distribution& x);
1623 friend bool operator==(const param_type& x, const param_type& y);
1624 friend bool operator!=(const param_type& x, const param_type& y);
1657 result_type max() const;
1659 friend bool operator==(const piecewise_linear_distribution& x,
1661 friend bool operator!=(const piecewise_linear_distribution& x,
1668 const piecewise_linear_distribution& x);
1674 piecewise_linear_distribution& x);
1717 // standard-mandated includes