Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74867 - in branches/release: . boost boost/algorithm/string boost/bimap boost/config boost/date_time boost/date_time/posix_time boost/detail boost/dynamic_bitset boost/function boost/functional boost/geometry boost/gil boost/graph boost/icl boost/integer boost/interprocess boost/intrusive boost/io boost/iostreams boost/iterator boost/locale boost/math boost/msm boost/msm/back boost/msm/front boost/msm/front/detail boost/msm/front/euml boost/numeric/ublas boost/pool boost/program_options boost/program_options/detail boost/property_tree boost/python boost/random boost/range boost/regex boost/signals boost/signals2 boost/spirit boost/spirit/home boost/spirit/home/karma boost/spirit/home/support boost/statechart boost/system boost/thread boost/tr1 boost/typeof boost/utility boost/uuid boost/variant boost/wave boost/xpressive doc libs libs/algorithm/string libs/array libs/array/test libs/bimap libs/config libs/date_time libs/date_time/data libs/date_time/example/gregorian libs/date_time/example/local_time libs/date_time/example/posix_time libs/date_time/example/tutorial libs/date_time/test/posix_time libs/date_time/xmldoc libs/detail libs/function libs/functional libs/geometry libs/graph/doc libs/graph_parallel libs/icl libs/icl/doc libs/icl/doc/html libs/icl/doc/html/header/boost/icl libs/icl/test libs/icl/test/test_doc_code_ libs/integer libs/interprocess libs/intrusive libs/io libs/io/doc libs/iostreams libs/iterator libs/locale libs/math libs/math/doc/sf_and_dist libs/math/doc/sf_and_dist/html/math_toolkit/main_overview libs/math/test libs/mpi/build libs/mpl/doc/refmanual libs/mpl/doc/src/refmanual libs/numeric/ublas libs/numeric/ublas/doc libs/parameter/doc/html libs/phoenix/doc libs/phoenix/doc/examples libs/pool libs/program_options libs/program_options/test libs/property_tree libs/python libs/random/test libs/range libs/regex libs/signals libs/signals2 libs/signals2/doc libs/spirit libs/spirit/classic/example libs/spirit/doc libs/spirit/example libs/spirit/phoenix libs/spirit/test libs/spirit/test/qi libs/statechart libs/static_assert libs/system libs/thread libs/tr1 libs/typeof/doc libs/utility libs/utility/swap/test libs/uuid libs/wave more status tools tools/boostbook tools/build/v2 tools/build/v2/tools tools/inspect tools/wave
From: steven_at_[hidden]
Date: 2011-10-09 19:13:35


Author: steven_watanabe
Date: 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
New Revision: 74867
URL: http://svn.boost.org/trac/boost/changeset/74867

Log:
Merge random from the trunk
Properties modified:
   branches/release/ (props changed)
   branches/release/INSTALL (props changed)
   branches/release/Jamroot (props changed)
   branches/release/LICENSE_1_0.txt (props changed)
   branches/release/boost/ (props changed)
   branches/release/boost-build.jam (props changed)
   branches/release/boost.css (props changed)
   branches/release/boost.png (props changed)
   branches/release/boost/algorithm/string/ (props changed)
   branches/release/boost/array.hpp (props changed)
   branches/release/boost/bimap/ (props changed)
   branches/release/boost/concept_check.hpp (props changed)
   branches/release/boost/config/ (props changed)
   branches/release/boost/config.hpp (props changed)
   branches/release/boost/cregex.hpp (props changed)
   branches/release/boost/cstdint.hpp (props changed)
   branches/release/boost/date_time/c_time.hpp (props changed)
   branches/release/boost/date_time/date_formatting.hpp (props changed)
   branches/release/boost/date_time/filetime_functions.hpp (props changed)
   branches/release/boost/date_time/gregorian_calendar.ipp (props changed)
   branches/release/boost/date_time/posix_time/time_serialize.hpp (props changed)
   branches/release/boost/date_time/strings_from_facet.hpp (props changed)
   branches/release/boost/date_time/time_facet.hpp (props changed)
   branches/release/boost/date_time/tz_db_base.hpp (props changed)
   branches/release/boost/detail/ (props changed)
   branches/release/boost/detail/interlocked.hpp (props changed)
   branches/release/boost/dynamic_bitset/dynamic_bitset.hpp (props changed)
   branches/release/boost/function/ (props changed)
   branches/release/boost/function/function_template.hpp (props changed)
   branches/release/boost/functional/ (props changed)
   branches/release/boost/geometry/ (props changed)
   branches/release/boost/gil/ (props changed)
   branches/release/boost/graph/ (props changed)
   branches/release/boost/icl/ (props changed)
   branches/release/boost/integer/ (props changed)
   branches/release/boost/integer.hpp (props changed)
   branches/release/boost/integer_fwd.hpp (props changed)
   branches/release/boost/integer_traits.hpp (props changed)
   branches/release/boost/interprocess/ (props changed)
   branches/release/boost/intrusive/ (props changed)
   branches/release/boost/io/ (props changed)
   branches/release/boost/iostreams/ (props changed)
   branches/release/boost/iterator/ (props changed)
   branches/release/boost/iterator/iterator_facade.hpp (props changed)
   branches/release/boost/locale/ (props changed)
   branches/release/boost/locale.hpp (props changed)
   branches/release/boost/math/ (props changed)
   branches/release/boost/math_fwd.hpp (props changed)
   branches/release/boost/msm/ (props changed)
   branches/release/boost/msm/active_state_switching_policies.hpp (props changed)
   branches/release/boost/msm/back/ (props changed)
   branches/release/boost/msm/back/args.hpp (props changed)
   branches/release/boost/msm/back/bind_helpers.hpp (props changed)
   branches/release/boost/msm/back/common_types.hpp (props changed)
   branches/release/boost/msm/back/copy_policies.hpp (props changed)
   branches/release/boost/msm/back/default_compile_policy.hpp (props changed)
   branches/release/boost/msm/back/dispatch_table.hpp (props changed)
   branches/release/boost/msm/back/favor_compile_time.hpp (props changed)
   branches/release/boost/msm/back/fold_to_list.hpp (props changed)
   branches/release/boost/msm/back/history_policies.hpp (props changed)
   branches/release/boost/msm/back/metafunctions.hpp (props changed)
   branches/release/boost/msm/back/mpl_graph_fsm_check.hpp (props changed)
   branches/release/boost/msm/back/no_fsm_check.hpp (props changed)
   branches/release/boost/msm/back/queue_container_circular.hpp (props changed)
   branches/release/boost/msm/back/queue_container_deque.hpp (props changed)
   branches/release/boost/msm/back/state_machine.hpp (props changed)
   branches/release/boost/msm/back/tools.hpp (props changed)
   branches/release/boost/msm/common.hpp (props changed)
   branches/release/boost/msm/front/ (props changed)
   branches/release/boost/msm/front/common_states.hpp (props changed)
   branches/release/boost/msm/front/completion_event.hpp (props changed)
   branches/release/boost/msm/front/detail/ (props changed)
   branches/release/boost/msm/front/detail/common_states.hpp (props changed)
   branches/release/boost/msm/front/detail/row2_helper.hpp (props changed)
   branches/release/boost/msm/front/euml/ (props changed)
   branches/release/boost/msm/front/euml/algorithm.hpp (props changed)
   branches/release/boost/msm/front/euml/common.hpp (props changed)
   branches/release/boost/msm/front/euml/container.hpp (props changed)
   branches/release/boost/msm/front/euml/euml.hpp (props changed)
   branches/release/boost/msm/front/euml/euml_typeof.hpp (props changed)
   branches/release/boost/msm/front/euml/guard_grammar.hpp (props changed)
   branches/release/boost/msm/front/euml/iteration.hpp (props changed)
   branches/release/boost/msm/front/euml/operator.hpp (props changed)
   branches/release/boost/msm/front/euml/phoenix_placeholders.hpp (props changed)
   branches/release/boost/msm/front/euml/querying.hpp (props changed)
   branches/release/boost/msm/front/euml/state_grammar.hpp (props changed)
   branches/release/boost/msm/front/euml/stl.hpp (props changed)
   branches/release/boost/msm/front/euml/stt_grammar.hpp (props changed)
   branches/release/boost/msm/front/euml/transformation.hpp (props changed)
   branches/release/boost/msm/front/functor_row.hpp (props changed)
   branches/release/boost/msm/front/internal_row.hpp (props changed)
   branches/release/boost/msm/front/row2.hpp (props changed)
   branches/release/boost/msm/front/state_machine_def.hpp (props changed)
   branches/release/boost/msm/front/states.hpp (props changed)
   branches/release/boost/msm/msm_grammar.hpp (props changed)
   branches/release/boost/msm/proto_config.hpp (props changed)
   branches/release/boost/msm/row_tags.hpp (props changed)
   branches/release/boost/numeric/ublas/ (props changed)
   branches/release/boost/numeric/ublas/functional.hpp (props changed)
   branches/release/boost/pool/ (props changed)
   branches/release/boost/program_options/ (props changed)
   branches/release/boost/program_options/detail/parsers.hpp (props changed)
   branches/release/boost/program_options/parsers.hpp (props changed)
   branches/release/boost/property_tree/ (props changed)
   branches/release/boost/python/ (props changed)
   branches/release/boost/range/ (props changed)
   branches/release/boost/regex/ (props changed)
   branches/release/boost/regex.h (props changed)
   branches/release/boost/regex.hpp (props changed)
   branches/release/boost/regex_fwd.hpp (props changed)
   branches/release/boost/signals/ (props changed)
   branches/release/boost/signals2/ (props changed)
   branches/release/boost/signals2.hpp (props changed)
   branches/release/boost/spirit/ (props changed)
   branches/release/boost/spirit/home/ (props changed)
   branches/release/boost/spirit/home/karma/ (props changed)
   branches/release/boost/spirit/home/support/attributes.hpp (props changed)
   branches/release/boost/statechart/ (props changed)
   branches/release/boost/static_assert.hpp (props changed)
   branches/release/boost/system/ (props changed)
   branches/release/boost/thread/ (props changed)
   branches/release/boost/thread.hpp (props changed)
   branches/release/boost/token_functions.hpp (props changed)
   branches/release/boost/tr1/ (props changed)
   branches/release/boost/typeof/message.hpp (props changed)
   branches/release/boost/typeof/register_functions.hpp (props changed)
   branches/release/boost/typeof/register_functions_iterate.hpp (props changed)
   branches/release/boost/typeof/typeof.hpp (props changed)
   branches/release/boost/typeof/unsupported.hpp (props changed)
   branches/release/boost/utility/ (props changed)
   branches/release/boost/utility/value_init.hpp (props changed)
   branches/release/boost/uuid/ (props changed)
   branches/release/boost/variant/ (props changed)
   branches/release/boost/version.hpp (props changed)
   branches/release/boost/wave/ (props changed)
   branches/release/boost/xpressive/ (props changed)
   branches/release/boostcpp.jam (props changed)
   branches/release/bootstrap.bat (props changed)
   branches/release/bootstrap.sh (props changed)
   branches/release/doc/ (props changed)
   branches/release/index.htm (props changed)
   branches/release/index.html (props changed)
   branches/release/libs/ (props changed)
   branches/release/libs/algorithm/string/ (props changed)
   branches/release/libs/array/ (props changed)
   branches/release/libs/array/test/array0.cpp (props changed)
   branches/release/libs/array/test/array2.cpp (props changed)
   branches/release/libs/array/test/array6.cpp (props changed)
   branches/release/libs/bimap/ (props changed)
   branches/release/libs/config/ (props changed)
   branches/release/libs/date_time/ (props changed)
   branches/release/libs/date_time/data/date_time_zonespec.csv (props changed)
   branches/release/libs/date_time/example/gregorian/days_between_new_years.cpp (props changed)
   branches/release/libs/date_time/example/gregorian/days_since_year_start.cpp (props changed)
   branches/release/libs/date_time/example/gregorian/days_till_new_year.cpp (props changed)
   branches/release/libs/date_time/example/gregorian/month_add.cpp (props changed)
   branches/release/libs/date_time/example/local_time/flight.cpp (props changed)
   branches/release/libs/date_time/example/local_time/local_date_time.cpp (props changed)
   branches/release/libs/date_time/example/posix_time/print_hours.cpp (props changed)
   branches/release/libs/date_time/example/posix_time/time_math.cpp (props changed)
   branches/release/libs/date_time/example/tutorial/io_tutorial.cpp (props changed)
   branches/release/libs/date_time/test/posix_time/testtime_facet.cpp (props changed)
   branches/release/libs/date_time/test/posix_time/testtime_input_facet.cpp (props changed)
   branches/release/libs/date_time/xmldoc/date_class.xml (props changed)
   branches/release/libs/date_time/xmldoc/usage_examples.xml (props changed)
   branches/release/libs/detail/ (props changed)
   branches/release/libs/function/ (props changed)
   branches/release/libs/functional/ (props changed)
   branches/release/libs/geometry/ (props changed)
   branches/release/libs/geometry/index.html (props changed)
   branches/release/libs/graph/doc/ (props changed)
   branches/release/libs/graph_parallel/ (props changed)
   branches/release/libs/icl/ (props changed)
   branches/release/libs/icl/doc/ (props changed)
   branches/release/libs/icl/doc/html/ (props changed)
   branches/release/libs/icl/doc/html/header/boost/icl/ (props changed)
   branches/release/libs/icl/test/ (props changed)
   branches/release/libs/icl/test/test_doc_code_/ (props changed)
   branches/release/libs/integer/ (props changed)
   branches/release/libs/interprocess/ (props changed)
   branches/release/libs/intrusive/ (props changed)
   branches/release/libs/io/ (props changed)
   branches/release/libs/io/doc/ (props changed)
   branches/release/libs/iostreams/ (props changed)
   branches/release/libs/iterator/ (props changed)
   branches/release/libs/libraries.htm (props changed)
   branches/release/libs/locale/ (props changed)
   branches/release/libs/maintainers.txt (props changed)
   branches/release/libs/math/ (props changed)
   branches/release/libs/math/doc/sf_and_dist/faq.qbk (props changed)
   branches/release/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/faq.html (props changed)
   branches/release/libs/math/test/s_.ipp (props changed)
   branches/release/libs/mpi/build/ (props changed)
   branches/release/libs/mpl/doc/refmanual/broken-compiler-workarounds.html (props changed)
   branches/release/libs/mpl/doc/refmanual/categorized-index-concepts.html (props changed)
   branches/release/libs/mpl/doc/refmanual/cfg-no-preprocessed-headers.html (props changed)
   branches/release/libs/mpl/doc/refmanual/composition-and-argument-binding.html (props changed)
   branches/release/libs/mpl/doc/refmanual/data-types-concepts.html (props changed)
   branches/release/libs/mpl/doc/refmanual/data-types-miscellaneous.html (props changed)
   branches/release/libs/mpl/doc/refmanual/extensible-associative-sequence.html (props changed)
   branches/release/libs/mpl/doc/refmanual/inserter-class.html (props changed)
   branches/release/libs/mpl/doc/refmanual/tag-dispatched-metafunction.html (props changed)
   branches/release/libs/mpl/doc/refmanual/trivial-metafunctions-summary.html (props changed)
   branches/release/libs/mpl/doc/src/refmanual/Iterators-Iterator.rst (props changed)
   branches/release/libs/numeric/ublas/ (props changed)
   branches/release/libs/numeric/ublas/doc/ (props changed)
   branches/release/libs/parameter/doc/html/index.html (props changed)
   branches/release/libs/phoenix/doc/basics.qbk (props changed)
   branches/release/libs/phoenix/doc/examples/extending_actors.qbk (props changed)
   branches/release/libs/phoenix/doc/organisation.qbk (props changed)
   branches/release/libs/pool/ (props changed)
   branches/release/libs/program_options/ (props changed)
   branches/release/libs/program_options/test/parsers_test.cpp (props changed)
   branches/release/libs/property_tree/ (props changed)
   branches/release/libs/python/ (props changed)
   branches/release/libs/range/ (props changed)
   branches/release/libs/regex/ (props changed)
   branches/release/libs/signals/ (props changed)
   branches/release/libs/signals2/ (props changed)
   branches/release/libs/signals2/doc/ (props changed)
   branches/release/libs/spirit/ (props changed)
   branches/release/libs/spirit/classic/example/ (props changed)
   branches/release/libs/spirit/doc/ (props changed)
   branches/release/libs/spirit/example/ (props changed)
   branches/release/libs/spirit/phoenix/ (props changed)
   branches/release/libs/spirit/test/ (props changed)
   branches/release/libs/spirit/test/qi/optional.cpp (props changed)
   branches/release/libs/statechart/ (props changed)
   branches/release/libs/static_assert/ (props changed)
   branches/release/libs/system/ (props changed)
   branches/release/libs/thread/ (props changed)
   branches/release/libs/tr1/ (props changed)
   branches/release/libs/typeof/doc/typeof.qbk (props changed)
   branches/release/libs/utility/ (props changed)
   branches/release/libs/utility/assert.html (props changed)
   branches/release/libs/utility/assert_test.cpp (props changed)
   branches/release/libs/utility/swap.html (props changed)
   branches/release/libs/utility/swap/test/std_bitset.cpp (props changed)
   branches/release/libs/utility/value_init.htm (props changed)
   branches/release/libs/utility/value_init_test.cpp (props changed)
   branches/release/libs/uuid/ (props changed)
   branches/release/libs/wave/ (props changed)
   branches/release/more/ (props changed)
   branches/release/rst.css (props changed)
   branches/release/status/ (props changed)
   branches/release/status/Jamfile.v2 (props changed)
   branches/release/status/expected_results.xml (props changed)
   branches/release/status/explicit-failures-markup.xml (props changed)
   branches/release/status/explicit-failures.xsd (props changed)
   branches/release/tools/ (props changed)
   branches/release/tools/boostbook/ (props changed)
   branches/release/tools/build/v2/ (props changed)
   branches/release/tools/build/v2/tools/mpi.jam (props changed)
   branches/release/tools/inspect/ (props changed)
   branches/release/tools/wave/ (props changed)
Text files modified:
   branches/release/boost/random/geometric_distribution.hpp | 2
   branches/release/boost/random/mersenne_twister.hpp | 4 +-
   branches/release/boost/random/seed_seq.hpp | 4 +-
   branches/release/libs/random/test/test_ecuyer1988.cpp | 2
   branches/release/libs/random/test/test_geometric_distribution.cpp | 4 +-
   branches/release/libs/random/test/test_hellekalek1995.cpp | 2
   branches/release/libs/random/test/test_independent_bits31.cpp | 2
   branches/release/libs/random/test/test_independent_bits32.cpp | 2
   branches/release/libs/random/test/test_knuth_b.cpp | 2
   branches/release/libs/random/test/test_kreutzer1986.cpp | 2
   branches/release/libs/random/test/test_lagged_fibonacci.cpp | 2
   branches/release/libs/random/test/test_lagged_fibonacci1279.cpp | 2
   branches/release/libs/random/test/test_lagged_fibonacci19937.cpp | 2
   branches/release/libs/random/test/test_lagged_fibonacci2281.cpp | 2
   branches/release/libs/random/test/test_lagged_fibonacci23209.cpp | 2
   branches/release/libs/random/test/test_lagged_fibonacci3217.cpp | 2
   branches/release/libs/random/test/test_lagged_fibonacci4423.cpp | 2
   branches/release/libs/random/test/test_lagged_fibonacci44497.cpp | 2
   branches/release/libs/random/test/test_lagged_fibonacci607.cpp | 2
   branches/release/libs/random/test/test_lagged_fibonacci9689.cpp | 2
   branches/release/libs/random/test/test_linear_feedback_shift.cpp | 2
   branches/release/libs/random/test/test_minstd_rand.cpp | 2
   branches/release/libs/random/test/test_minstd_rand0.cpp | 2
   branches/release/libs/random/test/test_mt11213b.cpp | 2
   branches/release/libs/random/test/test_mt19937.cpp | 55 +++++++++++++++++++++++++++++++++++++++
   branches/release/libs/random/test/test_mt19937_64.cpp | 2
   branches/release/libs/random/test/test_rand48.cpp | 2
   branches/release/libs/random/test/test_ranlux24.cpp | 2
   branches/release/libs/random/test/test_ranlux24_base.cpp | 2
   branches/release/libs/random/test/test_ranlux3.cpp | 2
   branches/release/libs/random/test/test_ranlux3_01.cpp | 2
   branches/release/libs/random/test/test_ranlux4.cpp | 2
   branches/release/libs/random/test/test_ranlux48.cpp | 2
   branches/release/libs/random/test/test_ranlux48_base.cpp | 2
   branches/release/libs/random/test/test_ranlux4_01.cpp | 2
   branches/release/libs/random/test/test_ranlux64_3.cpp | 2
   branches/release/libs/random/test/test_ranlux64_3_01.cpp | 2
   branches/release/libs/random/test/test_ranlux64_4.cpp | 2
   branches/release/libs/random/test/test_ranlux64_4_01.cpp | 2
   branches/release/libs/random/test/test_seed_seq.cpp | 40 ++++++++++++++--------------
   branches/release/libs/random/test/test_taus88.cpp | 2
   41 files changed, 116 insertions(+), 63 deletions(-)

Modified: branches/release/boost/random/geometric_distribution.hpp
==============================================================================
--- branches/release/boost/random/geometric_distribution.hpp (original)
+++ branches/release/boost/random/geometric_distribution.hpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -124,7 +124,7 @@
     RealType p() const { return _p; }
 
     /** Returns the smallest value that the distribution can produce. */
- IntType min BOOST_PREVENT_MACRO_SUBSTITUTION () const { return IntType(1); }
+ IntType min BOOST_PREVENT_MACRO_SUBSTITUTION () const { return IntType(0); }
 
     /** Returns the largest value that the distribution can produce. */
     IntType max BOOST_PREVENT_MACRO_SUBSTITUTION () const

Modified: branches/release/boost/random/mersenne_twister.hpp
==============================================================================
--- branches/release/boost/random/mersenne_twister.hpp (original)
+++ branches/release/boost/random/mersenne_twister.hpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -159,7 +159,7 @@
 
         // fix up the state if it's all zeroes.
         if((x[0] & (~static_cast<UIntType>(0) << r)) == 0) {
- for(std::size_t j = 1; i < n; ++j) {
+ for(std::size_t j = 1; j < n; ++j) {
                 if(x[j] != 0) return;
             }
             x[0] = static_cast<UIntType>(1) << (w-1);
@@ -175,7 +175,7 @@
 
         // fix up the state if it's all zeroes.
         if((x[0] & (~static_cast<UIntType>(0) << r)) == 0) {
- for(std::size_t j = 1; i < n; ++j) {
+ for(std::size_t j = 1; j < n; ++j) {
                 if(x[j] != 0) return;
             }
             x[0] = static_cast<UIntType>(1) << (w-1);

Modified: branches/release/boost/random/seed_seq.hpp
==============================================================================
--- branches/release/boost/random/seed_seq.hpp (original)
+++ branches/release/boost/random/seed_seq.hpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -98,8 +98,8 @@
             r3 = r3 ^ (r3 >> 27);
             r3 = (r3 * 1566083941u) & mask;
             value_type r4 = r3 - k%m;
- *(first + (k+p)%n) ^= r4;
- *(first + (k+q)%n) ^= r3;
+ *(first + (k+p)%n) ^= r3;
+ *(first + (k+q)%n) ^= r4;
             *(first + k%n) = r4;
         }
     }

Modified: branches/release/libs/random/test/test_ecuyer1988.cpp
==============================================================================
--- branches/release/libs/random/test/test_ecuyer1988.cpp (original)
+++ branches/release/libs/random/test/test_ecuyer1988.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -16,7 +16,7 @@
 #define BOOST_RANDOM_SEED_WORDS 2
 
 #define BOOST_RANDOM_VALIDATION_VALUE 2060321752U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 1416886025U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 1928563088U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 776923198U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x7AE0C087U, 0x948A8A31U, 0xBE5CCBA9U, 0x1316692CU }

Modified: branches/release/libs/random/test/test_geometric_distribution.cpp
==============================================================================
--- branches/release/libs/random/test/test_geometric_distribution.cpp (original)
+++ branches/release/libs/random/test/test_geometric_distribution.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -16,9 +16,9 @@
 #define BOOST_RANDOM_ARG1_DEFAULT 0.5
 #define BOOST_RANDOM_ARG1_VALUE 0.25
 
-#define BOOST_RANDOM_DIST0_MIN 1
+#define BOOST_RANDOM_DIST0_MIN 0
 #define BOOST_RANDOM_DIST0_MAX (std::numeric_limits<int>::max)()
-#define BOOST_RANDOM_DIST1_MIN 1
+#define BOOST_RANDOM_DIST1_MIN 0
 #define BOOST_RANDOM_DIST1_MAX (std::numeric_limits<int>::max)()
 
 #define BOOST_RANDOM_TEST1_PARAMS (0.9999)

Modified: branches/release/libs/random/test/test_hellekalek1995.cpp
==============================================================================
--- branches/release/libs/random/test/test_hellekalek1995.cpp (original)
+++ branches/release/libs/random/test/test_hellekalek1995.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -16,7 +16,7 @@
 #define BOOST_RANDOM_SEED_WORDS 1
 
 #define BOOST_RANDOM_VALIDATION_VALUE 1187812169U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 1081665111U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 1912573642U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 618743552U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x5642A47BU, 0x1F6987E8U, 0xD35860E7U, 0xC8C661ABU }

Modified: branches/release/libs/random/test/test_independent_bits31.cpp
==============================================================================
--- branches/release/libs/random/test/test_independent_bits31.cpp (original)
+++ branches/release/libs/random/test/test_independent_bits31.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -18,7 +18,7 @@
 #define BOOST_RANDOM_SEED_WORDS 1
 
 #define BOOST_RANDOM_VALIDATION_VALUE 26292962U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 1147343739U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 364481529U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 1399154219U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0xC1A63AF0U, 0xD66C0614U, 0xADE076B1U, 0xC1DAE13FU }

Modified: branches/release/libs/random/test/test_independent_bits32.cpp
==============================================================================
--- branches/release/libs/random/test/test_independent_bits32.cpp (original)
+++ branches/release/libs/random/test/test_independent_bits32.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -18,7 +18,7 @@
 #define BOOST_RANDOM_SEED_WORDS 624
 
 #define BOOST_RANDOM_VALIDATION_VALUE 4123659995U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 3107690757U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 666528879U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 3408548740U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0xD091BB5CU, 0x22AE9EF6U, 0xE7E1FAEEU, 0xD5C31F79U }

Modified: branches/release/libs/random/test/test_knuth_b.cpp
==============================================================================
--- branches/release/libs/random/test/test_knuth_b.cpp (original)
+++ branches/release/libs/random/test/test_knuth_b.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -18,7 +18,7 @@
 
 // validation from the C++0x draft (n3090)
 #define BOOST_RANDOM_VALIDATION_VALUE 1112339016U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 160100893U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 202352021U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 1692601883U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x5D189C63U, 0xD0544F0EU, 0x15B0E78FU, 0xD814D654U }

Modified: branches/release/libs/random/test/test_kreutzer1986.cpp
==============================================================================
--- branches/release/libs/random/test/test_kreutzer1986.cpp (original)
+++ branches/release/libs/random/test/test_kreutzer1986.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -18,7 +18,7 @@
 
 // validation by experiment from Harry Erwin's generator.h (private e-mail)
 #define BOOST_RANDOM_VALIDATION_VALUE 139726U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 227233U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 589731U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 163138U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x3EADAB08U, 0x85E481CEU, 0xCF84AEA5U, 0x39D4395BU }

Modified: branches/release/libs/random/test/test_lagged_fibonacci.cpp
==============================================================================
--- branches/release/libs/random/test/test_lagged_fibonacci.cpp (original)
+++ branches/release/libs/random/test/test_lagged_fibonacci.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -17,7 +17,7 @@
 #define BOOST_RANDOM_SEED_WORDS 607
 
 #define BOOST_RANDOM_VALIDATION_VALUE 3543833U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 7852929U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 1364481U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 4372778U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0xF61A5094U, 0xFC4BA046U, 0xF1C41E92U, 0x3D82FE61U }

Modified: branches/release/libs/random/test/test_lagged_fibonacci1279.cpp
==============================================================================
--- branches/release/libs/random/test/test_lagged_fibonacci1279.cpp (original)
+++ branches/release/libs/random/test/test_lagged_fibonacci1279.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -16,7 +16,7 @@
 #define BOOST_RANDOM_SEED_WORDS 1279*2
 
 #define BOOST_RANDOM_VALIDATION_VALUE 0.39647253381274083
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.37536953918742455
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.97108839261370505
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 0.56042480761195179
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x4D102C47U, 0xC4E610D7U, 0xF29333BEU, 0x6E45EBE7U }

Modified: branches/release/libs/random/test/test_lagged_fibonacci19937.cpp
==============================================================================
--- branches/release/libs/random/test/test_lagged_fibonacci19937.cpp (original)
+++ branches/release/libs/random/test/test_lagged_fibonacci19937.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -16,7 +16,7 @@
 #define BOOST_RANDOM_SEED_WORDS 19937*2
 
 #define BOOST_RANDOM_VALIDATION_VALUE 0.24396310480293693
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.48319870930434661
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.95892429604358043
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 0.0029754638678802792
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x5CE9850CU, 0xAA20067BU, 0x4E48643BU, 0xA4A59F4BU }

Modified: branches/release/libs/random/test/test_lagged_fibonacci2281.cpp
==============================================================================
--- branches/release/libs/random/test/test_lagged_fibonacci2281.cpp (original)
+++ branches/release/libs/random/test/test_lagged_fibonacci2281.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -16,7 +16,7 @@
 #define BOOST_RANDOM_SEED_WORDS 2281*2
 
 #define BOOST_RANDOM_VALIDATION_VALUE 0.91955231927349246
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.58796187519502041
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.4447517699440553
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 0.087280273457821522
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x7EB0882AU, 0xCE09BE60U, 0xD53046CFU, 0x93257E41U }

Modified: branches/release/libs/random/test/test_lagged_fibonacci23209.cpp
==============================================================================
--- branches/release/libs/random/test/test_lagged_fibonacci23209.cpp (original)
+++ branches/release/libs/random/test/test_lagged_fibonacci23209.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -16,7 +16,7 @@
 #define BOOST_RANDOM_SEED_WORDS 23209*2
 
 #define BOOST_RANDOM_VALIDATION_VALUE 0.086299988971202168
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.59787206924233871
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.63611281281476195
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 0.0019836425785868528
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x4301DE0AU, 0xAD2584E3U, 0x7C28463CU, 0x74848542U }

Modified: branches/release/libs/random/test/test_lagged_fibonacci3217.cpp
==============================================================================
--- branches/release/libs/random/test/test_lagged_fibonacci3217.cpp (original)
+++ branches/release/libs/random/test/test_lagged_fibonacci3217.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -16,7 +16,7 @@
 #define BOOST_RANDOM_SEED_WORDS 3217*2
 
 #define BOOST_RANDOM_VALIDATION_VALUE 0.54223093970093927
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.51719299526538975
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.073852702370395207
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 0.1805114746514036
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x4938F127U, 0x86C65CFEU, 0x65356579U, 0xA6CDC325U }

Modified: branches/release/libs/random/test/test_lagged_fibonacci4423.cpp
==============================================================================
--- branches/release/libs/random/test/test_lagged_fibonacci4423.cpp (original)
+++ branches/release/libs/random/test/test_lagged_fibonacci4423.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -16,7 +16,7 @@
 #define BOOST_RANDOM_SEED_WORDS 4423*2
 
 #define BOOST_RANDOM_VALIDATION_VALUE 0.23188533286820601
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.51262293730517783
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.3872440622693567
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 0.012893676760814543
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x6D4DBAFU, 0x8039C1A9U, 0x3DA53D58U, 0x95155BE5U }

Modified: branches/release/libs/random/test/test_lagged_fibonacci44497.cpp
==============================================================================
--- branches/release/libs/random/test/test_lagged_fibonacci44497.cpp (original)
+++ branches/release/libs/random/test/test_lagged_fibonacci44497.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -16,7 +16,7 @@
 #define BOOST_RANDOM_SEED_WORDS 44497*2
 
 #define BOOST_RANDOM_VALIDATION_VALUE 0.12519369894159738
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.63574754742431594
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.92285669730527431
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 0.0019836425785868528
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x6A2DCEA9U, 0x4668EFB4U, 0x711E352FU, 0xA963C43BU }

Modified: branches/release/libs/random/test/test_lagged_fibonacci607.cpp
==============================================================================
--- branches/release/libs/random/test/test_lagged_fibonacci607.cpp (original)
+++ branches/release/libs/random/test/test_lagged_fibonacci607.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -16,7 +16,7 @@
 #define BOOST_RANDOM_SEED_WORDS 607*2
 
 #define BOOST_RANDOM_VALIDATION_VALUE 0.039230772001715764
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.73011070026216984
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.73105942788451372
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 0.72330291632639643
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x78EB0905U, 0x61766547U, 0xCB507F64U, 0x94FA3EC0U }

Modified: branches/release/libs/random/test/test_lagged_fibonacci9689.cpp
==============================================================================
--- branches/release/libs/random/test/test_lagged_fibonacci9689.cpp (original)
+++ branches/release/libs/random/test/test_lagged_fibonacci9689.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -16,7 +16,7 @@
 #define BOOST_RANDOM_SEED_WORDS 9689*2
 
 #define BOOST_RANDOM_VALIDATION_VALUE 0.059230573043926427
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.84199156986666068
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 0.80900890657466462
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 0.0039672851571737056
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x32EF18BEU, 0x79277C11U, 0xA383438U, 0x32155952U }

Modified: branches/release/libs/random/test/test_linear_feedback_shift.cpp
==============================================================================
--- branches/release/libs/random/test/test_linear_feedback_shift.cpp (original)
+++ branches/release/libs/random/test/test_linear_feedback_shift.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -17,7 +17,7 @@
 #define BOOST_RANDOM_SEED_WORDS 1
 
 #define BOOST_RANDOM_VALIDATION_VALUE 981440277U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 554836316U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 3709603036U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 3112279337U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x154005U, 0x54005502U, 0x5502BD4U, 0x2BD4005U }

Modified: branches/release/libs/random/test/test_minstd_rand.cpp
==============================================================================
--- branches/release/libs/random/test/test_minstd_rand.cpp (original)
+++ branches/release/libs/random/test/test_minstd_rand.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -18,7 +18,7 @@
 
 // validation values from the publications
 #define BOOST_RANDOM_VALIDATION_VALUE 399268537U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 2096435890U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 1000962296U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 182651141U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x8400BC8EU, 0xF45B895FU, 0x145F0F91U, 0xE5F8F088U }

Modified: branches/release/libs/random/test/test_minstd_rand0.cpp
==============================================================================
--- branches/release/libs/random/test/test_minstd_rand0.cpp (original)
+++ branches/release/libs/random/test/test_minstd_rand0.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -18,7 +18,7 @@
 
 // validation values from the publications
 #define BOOST_RANDOM_VALIDATION_VALUE 1043618065U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 849515105U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 1274759829U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 1263181168U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0xC00041A6U, 0xCD8358EBU, 0x430A4B7AU, 0x31B781ADU }

Modified: branches/release/libs/random/test/test_mt11213b.cpp
==============================================================================
--- branches/release/libs/random/test/test_mt11213b.cpp (original)
+++ branches/release/libs/random/test/test_mt11213b.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -16,7 +16,7 @@
 #define BOOST_RANDOM_SEED_WORDS 351
 
 #define BOOST_RANDOM_VALIDATION_VALUE 3809585648U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 770080327U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 2936939529U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 2434563197U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0xEF3F3F3FU, 0x70082175U, 0xDAF6EAF5U, 0x2A16A63EU }

Modified: branches/release/libs/random/test/test_mt19937.cpp
==============================================================================
--- branches/release/libs/random/test/test_mt19937.cpp (original)
+++ branches/release/libs/random/test/test_mt19937.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -10,6 +10,9 @@
  */
 
 #include <boost/random/mersenne_twister.hpp>
+#include <algorithm>
+#include <vector>
+#include <boost/cstdint.hpp>
 
 #define BOOST_RANDOM_URNG boost::random::mt19937
 
@@ -17,9 +20,59 @@
 
 // validation by experiment from mt19937.c
 #define BOOST_RANDOM_VALIDATION_VALUE 4123659995U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 3107690757U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 666528879U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 3408548740U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0xD091BB5CU, 0x22AE9EF6U, 0xE7E1FAEEU, 0xD5C31F79U }
 
 #include "test_generator.ipp"
+
+struct seed_seq_0 {
+ template<class It>
+ void generate(It begin, It end) const {
+ std::fill(begin, end, boost::uint32_t(0));
+ }
+};
+
+struct seed_seq_1 {
+ template<class It>
+ void generate(It begin, It end) const {
+ std::fill(begin, end, boost::uint32_t(0));
+ *(end - 1) = 1;
+ }
+};
+
+BOOST_AUTO_TEST_CASE(test_special_seed) {
+ {
+ seed_seq_1 seed;
+ std::vector<boost::uint32_t> vec(624);
+ seed.generate(vec.begin(), vec.end());
+
+ std::vector<boost::uint32_t>::iterator it = vec.begin();
+ boost::mt19937 gen1(it, vec.end());
+ BOOST_CHECK_EQUAL(gen1(), 0);
+ BOOST_CHECK_EQUAL(gen1(), 0);
+
+ boost::mt19937 gen2(seed);
+ BOOST_CHECK_EQUAL(gen2(), 0);
+ BOOST_CHECK_EQUAL(gen2(), 0);
+
+ BOOST_CHECK_EQUAL(gen1, gen2);
+ }
+ {
+ seed_seq_0 seed;
+ std::vector<boost::uint32_t> vec(624);
+ seed.generate(vec.begin(), vec.end());
+
+ std::vector<boost::uint32_t>::iterator it = vec.begin();
+ boost::mt19937 gen1(it, vec.end());
+ BOOST_CHECK_EQUAL(gen1(), 1141379330u);
+ BOOST_CHECK_EQUAL(gen1(), 0);
+
+ boost::mt19937 gen2(seed);
+ BOOST_CHECK_EQUAL(gen2(), 1141379330u);
+ BOOST_CHECK_EQUAL(gen2(), 0);
+
+ BOOST_CHECK_EQUAL(gen1, gen2);
+ }
+}

Modified: branches/release/libs/random/test/test_mt19937_64.cpp
==============================================================================
--- branches/release/libs/random/test/test_mt19937_64.cpp (original)
+++ branches/release/libs/random/test/test_mt19937_64.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -18,7 +18,7 @@
 
 // validation from the C++0x draft (n3090)
 #define BOOST_RANDOM_VALIDATION_VALUE UINT64_C(9981545732273789042)
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE UINT64_C(10059787671936601387)
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE UINT64_C(12176471137395770412)
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE UINT64_C(13543700832025962283)
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0xF6F6AEA6U, 0xC96D191CU, 0x8BC80F1CU, 0x401F7AC7U }

Modified: branches/release/libs/random/test/test_rand48.cpp
==============================================================================
--- branches/release/libs/random/test/test_rand48.cpp (original)
+++ branches/release/libs/random/test/test_rand48.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -18,7 +18,7 @@
 
 // by experiment from lrand48()
 #define BOOST_RANDOM_VALIDATION_VALUE 1993516219U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 1127873718U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 1286950069U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 839037874U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x55424A4U, 0x3A2CCEF5U, 0x6ADB4A65U, 0x2B019719U }

Modified: branches/release/libs/random/test/test_ranlux24.cpp
==============================================================================
--- branches/release/libs/random/test/test_ranlux24.cpp (original)
+++ branches/release/libs/random/test/test_ranlux24.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -18,7 +18,7 @@
 
 // validation from the C++0x draft (n3090)
 #define BOOST_RANDOM_VALIDATION_VALUE 9901578U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 4870344U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 10086048U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 3888733U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x55E57B2CU, 0xF2DEF915U, 0x6D1A0CD9U, 0xCA0109F9U }

Modified: branches/release/libs/random/test/test_ranlux24_base.cpp
==============================================================================
--- branches/release/libs/random/test/test_ranlux24_base.cpp (original)
+++ branches/release/libs/random/test/test_ranlux24_base.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -17,7 +17,7 @@
 
 // validation from the C++0x draft (n3126).
 #define BOOST_RANDOM_VALIDATION_VALUE 7937952U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 836370U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 14368281U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 7739608U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x55E57B2CU, 0xF2DEF915U, 0x6D1A0CD9U, 0xCA0109F9U }

Modified: branches/release/libs/random/test/test_ranlux3.cpp
==============================================================================
--- branches/release/libs/random/test/test_ranlux3.cpp (original)
+++ branches/release/libs/random/test/test_ranlux3.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -17,7 +17,7 @@
 
 // principal operation validated with CLHEP, values by experiment
 #define BOOST_RANDOM_VALIDATION_VALUE 5957620U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 1848500U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 11848780U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 11620328U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x55E57B2CU, 0xF2DEF915U, 0x6D1A0CD9U, 0xCA0109F9U }

Modified: branches/release/libs/random/test/test_ranlux3_01.cpp
==============================================================================
--- branches/release/libs/random/test/test_ranlux3_01.cpp (original)
+++ branches/release/libs/random/test/test_ranlux3_01.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -18,7 +18,7 @@
 
 // principal operation validated with CLHEP, values by experiment
 #define BOOST_RANDOM_VALIDATION_VALUE 5957620/std::pow(2.0f,24)
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 1848500/std::pow(2.0f,24)
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 11848780/std::pow(2.0f,24)
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 11620328/std::pow(2.0f,24)
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x55E57B2CU, 0xF2DEF915U, 0x6D1A0CD9U, 0xCA0109F9U }

Modified: branches/release/libs/random/test/test_ranlux4.cpp
==============================================================================
--- branches/release/libs/random/test/test_ranlux4.cpp (original)
+++ branches/release/libs/random/test/test_ranlux4.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -17,7 +17,7 @@
 
 // principal operation validated with CLHEP, values by experiment
 #define BOOST_RANDOM_VALIDATION_VALUE 8587295U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 6375782U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 10794046U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 4515722U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x55E57B2CU, 0xF2DEF915U, 0x6D1A0CD9U, 0xCA0109F9U }

Modified: branches/release/libs/random/test/test_ranlux48.cpp
==============================================================================
--- branches/release/libs/random/test/test_ranlux48.cpp (original)
+++ branches/release/libs/random/test/test_ranlux48.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -18,7 +18,7 @@
 
 // validation from the C++0x draft (n3090)
 #define BOOST_RANDOM_VALIDATION_VALUE UINT64_C(249142670248501)
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE UINT64_C(93216637457044)
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE UINT64_C(130319672235788)
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE UINT64_C(154356577406237)
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0xFCE57B2CU, 0xF2DF1555U, 0x1A0C0CD9U, 0x490109FAU }

Modified: branches/release/libs/random/test/test_ranlux48_base.cpp
==============================================================================
--- branches/release/libs/random/test/test_ranlux48_base.cpp (original)
+++ branches/release/libs/random/test/test_ranlux48_base.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -18,7 +18,7 @@
 
 // validation from the C++0x draft (n3126).
 #define BOOST_RANDOM_VALIDATION_VALUE UINT64_C(61839128582725)
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE UINT64_C(107228250000854)
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE UINT64_C(15556320400833)
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE UINT64_C(172853405006548)
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0xFCE57B2CU, 0xF2DF1555U, 0x1A0C0CD9U, 0x490109FAU }

Modified: branches/release/libs/random/test/test_ranlux4_01.cpp
==============================================================================
--- branches/release/libs/random/test/test_ranlux4_01.cpp (original)
+++ branches/release/libs/random/test/test_ranlux4_01.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -18,7 +18,7 @@
 
 // principal operation validated with CLHEP, values by experiment
 #define BOOST_RANDOM_VALIDATION_VALUE 8587295/std::pow(2.0f,24)
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 6375782/std::pow(2.0f,24)
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 10794046/std::pow(2.0f,24)
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 4515722/std::pow(2.0f,24)
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x55E57B2CU, 0xF2DEF915U, 0x6D1A0CD9U, 0xCA0109F9U }

Modified: branches/release/libs/random/test/test_ranlux64_3.cpp
==============================================================================
--- branches/release/libs/random/test/test_ranlux64_3.cpp (original)
+++ branches/release/libs/random/test/test_ranlux64_3.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -19,7 +19,7 @@
 
 // principal operation validated with CLHEP, values by experiment
 #define BOOST_RANDOM_VALIDATION_VALUE UINT64_C(141789170949364)
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE UINT64_C(97179253367494)
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE UINT64_C(85538657982635)
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE UINT64_C(101724473226966)
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0xC35F616BU, 0xDC3C4DF1U, 0xF3F90D0AU, 0x206F9C9EU }

Modified: branches/release/libs/random/test/test_ranlux64_3_01.cpp
==============================================================================
--- branches/release/libs/random/test/test_ranlux64_3_01.cpp (original)
+++ branches/release/libs/random/test/test_ranlux64_3_01.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -18,7 +18,7 @@
 
 // principal operation validated with CLHEP, values by experiment
 #define BOOST_RANDOM_VALIDATION_VALUE INT64_C(141789170949364)/std::pow(2.0, 48)
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE UINT64_C(97179253367494)/std::pow(2.0, 48)
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE UINT64_C(85538657982635)/std::pow(2.0, 48)
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE UINT64_C(101724473226966)/std::pow(2.0, 48)
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0xC35F616BU, 0xDC3C4DF1U, 0xF3F90D0AU, 0x206F9C9EU }

Modified: branches/release/libs/random/test/test_ranlux64_4.cpp
==============================================================================
--- branches/release/libs/random/test/test_ranlux64_4.cpp (original)
+++ branches/release/libs/random/test/test_ranlux64_4.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -19,7 +19,7 @@
 
 // principal operation validated with CLHEP, values by experiment
 #define BOOST_RANDOM_VALIDATION_VALUE UINT64_C(199461971133682)
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE UINT64_C(63570328604787)
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE UINT64_C(160535400540538)
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE UINT64_C(40074210927900)
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0xC35F616BU, 0xDC3C4DF1U, 0xF3F90D0AU, 0x206F9C9EU }

Modified: branches/release/libs/random/test/test_ranlux64_4_01.cpp
==============================================================================
--- branches/release/libs/random/test/test_ranlux64_4_01.cpp (original)
+++ branches/release/libs/random/test/test_ranlux64_4_01.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -18,7 +18,7 @@
 
 // principal operation validated with CLHEP, values by experiment
 #define BOOST_RANDOM_VALIDATION_VALUE INT64_C(199461971133682)/std::pow(2.0, 48)
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE UINT64_C(63570328604787)/std::pow(2.0, 48)
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE UINT64_C(160535400540538)/std::pow(2.0, 48)
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE UINT64_C(40074210927900)/std::pow(2.0, 48)
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0xC35F616BU, 0xDC3C4DF1U, 0xF3F90D0AU, 0x206F9C9EU }

Modified: branches/release/libs/random/test/test_seed_seq.cpp
==============================================================================
--- branches/release/libs/random/test/test_seed_seq.cpp (original)
+++ branches/release/libs/random/test/test_seed_seq.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -24,16 +24,16 @@
     boost::uint32_t store32[10];
     boost::uint64_t store64[10];
     boost::uint32_t expected[10] = {
- 2571534471u,
- 852093106u,
- 3994144234u,
- 904246505u,
- 3404579686u,
- 1508446734u,
- 3679033230u,
- 2550178480u,
- 4205639301u,
- 268720383u
+ 3155793538u,
+ 2047427591u,
+ 2886057794u,
+ 280666868u,
+ 2184015838u,
+ 4035763234u,
+ 808987374u,
+ 3177165994u,
+ 2993445429u,
+ 3110180644u
     };
     std::fill_n(&store32[0], 10, 0);
     std::fill_n(&store64[0], 10, 0);
@@ -50,16 +50,16 @@
         &param[0], &param[0] + 4, &expected_param[0], &expected_param[0] + 4);
 
     boost::uint32_t expected_r[10] = {
- 249299179u,
- 1602610063u,
- 745496312u,
- 3444440002u,
- 1462959439u,
- 4120764957u,
- 2551678045u,
- 2909251680u,
- 3652199668u,
- 1330108271u
+ 2681148375u,
+ 3302224839u,
+ 249244011u,
+ 1549723892u,
+ 3429166360u,
+ 2812310274u,
+ 3902694127u,
+ 1014283089u,
+ 1122383019u,
+ 494552679u
     };
 
     std::vector<int> data = list_of(2)(3)(4);

Modified: branches/release/libs/random/test/test_taus88.cpp
==============================================================================
--- branches/release/libs/random/test/test_taus88.cpp (original)
+++ branches/release/libs/random/test/test_taus88.cpp 2011-10-09 19:13:31 EDT (Sun, 09 Oct 2011)
@@ -16,7 +16,7 @@
 #define BOOST_RANDOM_SEED_WORDS 3
 
 #define BOOST_RANDOM_VALIDATION_VALUE 3535848941U
-#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 2005586065U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 2562639222U
 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 3762466828U
 
 #define BOOST_RANDOM_GENERATE_VALUES { 0x2B55504U, 0x5403F102U, 0xED45297EU, 0x6B84007U }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk