ae12937978Fix behavior with zero seed re: '26.5.3.3 [rand.eng.sub]/7'; thanks to stl@microsoft for the report; Refs #7951
Marshall Clow
2013-01-30 06:42:36 +0000
5cb53bb98eRemove static. Fixes#7096
Steven Watanabe
2012-10-15 19:10:33 +0000
d3899e5f44Make result_type public and constructors explicit on shuffle_output. Fixes#7121.
Steven Watanabe
2012-10-15 03:18:25 +0000
2e7e6cf218Merge macro changes for Boost.Random; no functionality change
Marshall Clow
2012-07-15 14:34:35 +0000
caf462a816Switch from deprecated macros to new shiny ones; no functionality change
Marshall Clow
2012-07-09 19:50:17 +0000
1cb475183eAdd missing inline. Fixes#6854.
Steven Watanabe
2012-05-19 13:49:00 +0000
6fd0c53bacAdd missing #includes. Fixes#6855.
Steven Watanabe
2012-05-19 13:39:30 +0000
030fe2f938Remove unnecessary #include. Fixes#6344.
Steven Watanabe
2012-05-19 13:14:28 +0000
fbee3952c0Merge Random from the trunk.
Steven Watanabe
2012-05-05 21:14:37 +0000
1bcaa72324Updated Boost.Random to use BOOST_NO_0X_HDR_INITIALIZER_LIST instead of (soon to be deprecated) BOOST_NO_INITIALIZER_LISTS
Marshall Clow
2012-03-02 16:16:45 +0000
13c9a18fd6Merge log2 constexpr fix for gcc.
Daniel James
2011-12-24 19:05:17 +0000
16f5afdb15Use a proper constexpr for integer_log2.
Daniel James
2011-12-18 11:16:47 +0000
18b844a2ffFix off-by-one error. Fixes#6189.
Steven Watanabe
2011-12-01 18:33:13 +0000
658ce378a3Merge random from the trunk
Steven Watanabe
2011-10-09 23:13:31 +0000
ceddb09af4Update seed_seq to match the final draft.
Steven Watanabe
2011-09-20 22:59:42 +0000
db825889d8Use the right variable. Fixes#5767.
Steven Watanabe
2011-08-30 21:14:01 +0000
56e40890cageometric_distribution::min should be 0. Fixes#5704.
Steven Watanabe
2011-08-30 19:31:43 +0000
2575617250Random: Merge constexpr integer_log2_impl.
Daniel James
2011-07-21 07:49:59 +0000
04ade5c792Random: fix constexpr in integer_log2_impl.
Daniel James
2011-07-09 17:13:59 +0000
fd4efbb298Merge [72825] and [72826] from the trunk. Authorized by Beman.
Steven Watanabe
2011-07-07 04:57:37 +0000
a734166dc2Random: disable incorrect use of constexpr for now.
Daniel James
2011-07-02 20:26:19 +0000
7b6a46822bReplace the precision() member for floating point generators with a traits class. This function was intended to be an implementation detail, but user defined generators had to implement it.
Steven Watanabe
2011-06-30 22:27:53 +0000
a6edff511aRemove use of discard to avoid breaking Boost.TR1.
Steven Watanabe
2011-06-30 21:52:51 +0000
22cef6849cRandom: disable incorrect use of constexpr for now.
Daniel James
2011-06-29 17:49:27 +0000
d72a14fb78Merge random from the trunk.
Steven Watanabe
2011-04-05 21:27:52 +0000
94645686dcOops. This copy/paste error makes sun 5.10 unhappy.
Steven Watanabe
2011-03-31 14:53:33 +0000
b3199f21edAttempt to fix sun 5.10 overload resolution problem.
Steven Watanabe
2011-03-31 14:50:26 +0000
8978939937Somehow sun-5.10 gets the type of bits wrong.
Steven Watanabe
2011-03-31 14:41:36 +0000
17727c6cfbpgi doesn't seem to like writing a const char* to a std::wostream? Reading back a space with std::ws is mysteriously failing, but appears to work when a character is written instead of a string literal.
Steven Watanabe
2011-03-30 21:00:41 +0000
faf1e5ea24Use fmod before casting to uint32_t. xlc and sun were saturating to 0xFFFFFFFF instead of taking the low order bits.
Steven Watanabe
2011-03-30 20:41:50 +0000
5538ef2de8Fix for gcc 3.4.6
Steven Watanabe
2011-03-29 16:03:19 +0000
ba92085d94Preventing macro substitution
Hartmut Kaiser
2011-03-21 17:15:10 +0000
92818ae651MSVC 7.1 and 8.0 seem to have trouble handling this friend declaration. Try to make it simpler. Refs #5321.
Steven Watanabe
2011-03-17 17:14:38 +0000
c8b83bcc93Make sure that integer_log2 works on more than just msvc and gcc.
Steven Watanabe
2011-03-17 16:28:25 +0000
6603ca0b98Add missing inline
Steven Watanabe
2011-03-17 15:45:12 +0000
ff74124051Replace a couple slow iterative algorithms with multi-precision arithmetic.
Steven Watanabe
2011-03-17 03:45:39 +0000
cb6b4f1ffbWarning patrol
Steven Watanabe
2011-03-16 03:24:42 +0000
45255face5Intel and PGI don't seem to like the friend declarations as written.
Steven Watanabe
2011-03-15 22:51:43 +0000
75aa8b6e82Try to help the compiler see through all the constants.
Steven Watanabe
2011-03-15 21:03:46 +0000
544fc7e4e1Make sure that the type of the seed argument is consistent with the standard for all generators. Eliminate the odd rand48 seeding rules.
Steven Watanabe
2011-03-15 00:47:25 +0000
96113f9e2cUpdate the last tests left in random_test.cpp and move them to the appropriate places.
Steven Watanabe
2011-03-14 23:37:39 +0000
5eaec807ffUpdate docs for random_number_generator.
Steven Watanabe
2011-03-14 22:05:52 +0000
04131d73f3Add missing property
Steven Watanabe
2011-03-14 20:43:45 +0000
0a430d620aMove random_number_generator into namespace random, tweak the implementation a bit, and add a test case.
Steven Watanabe
2011-03-14 20:38:12 +0000
6b5c6a84d8Automate detection of mt19937ar.c
Steven Watanabe
2011-03-14 20:20:08 +0000
30a2b59c7bMake sure that discard is always provided by using uintmax_t instead of ulong_long_type.
Steven Watanabe
2011-03-14 20:09:37 +0000
0265c4371dRemove pass_through_engine. Make uniform_int_float more correct.
Steven Watanabe
2011-03-14 19:42:32 +0000
2690f16a2cSome optimizations for ranlux.
Steven Watanabe
2011-03-14 02:46:15 +0000
cfb5ec9825Add missing file.
Steven Watanabe
2011-03-13 18:28:07 +0000
d096eb569fMake seeding more consistent and add some tests to lock down the algorithms.
Steven Watanabe
2011-03-13 04:49:34 +0000
ed945c9eb1A separate WeightType doesn't make sense for piecewise_linear_distribution.
Steven Watanabe
2011-02-17 16:28:12 +0000
b0b7fb471aApparently, neither gcc 4.5, nor msvc 10 can optimize away this loop.
Steven Watanabe
2011-02-14 22:44:10 +0000
3738b7e4ffUpdate performance numbers.
Steven Watanabe
2011-02-14 21:31:10 +0000
428aefd98fClean up random_demo. Compiler workarounds don't belong in examples even when they are needed, and I suspect that these are out of date.
Steven Watanabe
2011-02-14 04:07:41 +0000
e4fbc88c54Optimize linear_congruential_engine::discard.
Steven Watanabe
2011-02-13 20:21:15 +0000
e4cca265d0Use unsigned types everywhere to be compatible with the standard, which is more restrictive in this respect.
Steven Watanabe
2011-02-13 04:05:26 +0000
8c30753bf4Sync the docs with the current library.
Steven Watanabe
2011-02-13 03:28:59 +0000
21d66a0a2cFix problems reported by inspect.
Steven Watanabe
2011-02-12 20:03:17 +0000
d3e19bbc4f#include everything in boost/random.hpp
Steven Watanabe
2011-02-12 19:07:36 +0000
6858fa9514Update random_device.
Steven Watanabe
2011-02-12 18:41:28 +0000
6962916b79Implement generate_canonical.
Steven Watanabe
2011-02-12 18:06:40 +0000
8117e68595Use INT64_C where appropriate. This should fix some vacpp and gcc 3.4.6 errors.
Steven Watanabe
2011-02-12 15:48:51 +0000
fabd860d65Maybe fix sun?
Steven Watanabe
2011-02-12 15:31:42 +0000
b5b8a2d4dfImplement independent_bits_engine.
Steven Watanabe
2011-02-12 15:28:53 +0000
a9f049de2aCodegear fixes.
Steven Watanabe
2011-02-11 22:07:04 +0000
46a47b2a9dHelp pgi?
Steven Watanabe
2011-02-11 21:32:07 +0000
9bce32507aReduce the default number of trials, so the tests complete in a reasonable amount of time.
Steven Watanabe
2011-02-11 21:09:46 +0000
466c39c392Make sure all engines are tested. Kill validate.cpp, since its functionality is now covered by the main generator tests.
Steven Watanabe
2011-02-11 20:13:48 +0000
edf89f7503Move all generator tests to the new framework.
Steven Watanabe
2011-02-11 19:16:29 +0000
67d7b20f57Refactor distribution tests. Remove spurious dependency on boost/random.hpp
Steven Watanabe
2011-02-11 02:13:59 +0000
b653381ac4Fix constructor.
Steven Watanabe
2011-02-11 02:11:57 +0000
67843975c0Update xor_combine to match C++0x. min/max are still broken.
Steven Watanabe
2011-02-11 01:16:34 +0000
c646f4babbUpdate linear_feedback_shift_engine to match C++0x.
Steven Watanabe
2011-02-10 03:30:27 +0000
b5be1f6d9eFactor out some common seeding code.
Steven Watanabe
2011-02-10 01:27:11 +0000
0908708463Update lagged_fibonacci to match C++0x.
Steven Watanabe
2011-02-09 22:34:46 +0000
c78729ebf5Update inversive_congruential.
Steven Watanabe
2011-02-09 19:19:25 +0000
3cfc38c4f7Fix const_mod to work in all cases.
Steven Watanabe
2011-02-09 16:49:49 +0000
a22d42305aFix #include guard. Fixes#5171.
Steven Watanabe
2011-02-09 02:07:54 +0000
de24e82891Update additive_combine.
Steven Watanabe
2011-02-08 17:46:48 +0000
5db9c081dfSimplify variate_generator.
Steven Watanabe
2011-02-05 17:44:40 +0000
411eeb9c26Update uniform_int and uniform_real.
Steven Watanabe
2011-02-05 05:54:11 +0000
b2bfbc0b75Update uniform_smallint.
Steven Watanabe
2011-02-05 01:15:56 +0000
70ee378773Update uniform_on_sphere.
Steven Watanabe
2011-02-03 21:16:56 +0000
23761be280Add uniform_real_distribution to match C++0x.
Steven Watanabe
2011-01-25 20:08:07 +0000
a9a48b3330Add uniform_int_distribution to match C++0x.
Steven Watanabe
2011-01-25 19:16:54 +0000
f051b0730eUpdate triangle_distribution to match C++0x.
Steven Watanabe
2011-01-25 01:17:50 +0000
1744f7c612Update lognormal_distribution to match C++0x.
Steven Watanabe
2011-01-24 21:18:40 +0000
664bef0373Update geometric_distribution to match C++0x.
Steven Watanabe
2011-01-24 06:28:59 +0000
0109f6e645Update cauchy_distribution to match C++0x.
Steven Watanabe
2011-01-23 23:33:41 +0000
8b1fda2098Update bernoulli_distribution to match C++0x.
Steven Watanabe
2011-01-23 02:14:26 +0000