3164517929
2011-11-02 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/50951 * include/bits/random.tcc (operator<<(basic_ostream<>&, const mersenne_twister_engine<>&): Output _M_p too. (operator<<(basic_ostream<>&, const subtract_with_carry_engine<>&): Likewise. (operator>>(basic_istream<>&, mersenne_twister_engine<>&): Reload it. (operator>>(basic_istream<>&, subtract_with_carry_engine<>&): Likewise. * include/bits/random.h (mersenne_twister_engine<>::operator==): Compare _M_p too. (subtract_with_carry_engine<>::operator==): Compare _M_carry and _M_p too. (shuffle_order_engine<>::operator==): Compare _M_v(s) and _M_y too. * testsuite/26_numerics/random/independent_bits_engine/ operators/serialize.cc: Extend. * testsuite/26_numerics/random/subtract_with_carry_engine/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/ operators/serialize.cc: Likewise. From-SVN: r180764 |
||
---|---|---|
.. | ||
bernoulli_distribution | ||
binomial_distribution | ||
cauchy_distribution | ||
chi_squared_distribution | ||
discard_block_engine | ||
discrete_distribution | ||
exponential_distribution | ||
extreme_value_distribution | ||
fisher_f_distribution | ||
gamma_distribution | ||
geometric_distribution | ||
independent_bits_engine | ||
linear_congruential_engine | ||
lognormal_distribution | ||
mersenne_twister_engine | ||
negative_binomial_distribution | ||
normal_distribution | ||
piecewise_constant_distribution | ||
piecewise_linear_distribution | ||
poisson_distribution | ||
random_device | ||
seed_seq | ||
shuffle_order_engine | ||
student_t_distribution | ||
subtract_with_carry_engine | ||
uniform_int_distribution | ||
uniform_real_distribution | ||
weibull_distribution | ||
default_random_engine.cc | ||
knuth_b.cc | ||
minstd_rand0.cc | ||
minstd_rand.cc | ||
mt19937_64.cc | ||
mt19937.cc | ||
ranlux24_base.cc | ||
ranlux24.cc | ||
ranlux48_base.cc | ||
ranlux48.cc |