OSDN Git Service

2006-06-05 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Jun 2006 21:23:59 +0000 (21:23 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Jun 2006 21:23:59 +0000 (21:23 +0000)
commit481b6d25d8462f1cd30c658fced574722c92a595
treebd7d9cd49961fed4289e3426f57cfd1814862fa1
parent4885679ac651aeed106e89c25468ebcad3e5336c
2006-06-05  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random (mersenne_twister<>::seed()): Fix per
tr1/5.1.4.2, p8.
* include/tr1/random.tcc (mod_w): Add.
(mersenne_twister<>::seed(unsigned long)): Fix per tr1/5.1.4.2, p9.
(mersenne_twister<>::seed(Gen&, false_type)): Adjust to use mod_w.
* testsuite/tr1/5_numerical_facilies/random/mt19937.cc: Fix
expected result per tr1/5.1.5, p2.
* testsuite/tr1/5_numerical_facilies/random/mersenne_twister/
cons/default.cc: Adjust.

* include/tr1/random (exponential_distribution<>::operator()()): Fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114412 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/tr1/random
libstdc++-v3/include/tr1/random.tcc
libstdc++-v3/testsuite/tr1/5_numerical_facilies/random/mersenne_twister/cons/default.cc
libstdc++-v3/testsuite/tr1/5_numerical_facilies/random/mt19937.cc