Daniel James
|
16f5afdb15
|
Use a proper constexpr for integer_log2.
[SVN r76032]
|
2011-12-18 11:16:47 +00:00 |
|
Steven Watanabe
|
18b844a2ff
|
Fix off-by-one error. Fixes #6189.
[SVN r75764]
|
2011-12-01 18:33:13 +00:00 |
|
Steven Watanabe
|
ceddb09af4
|
Update seed_seq to match the final draft.
[SVN r74482]
|
2011-09-20 22:59:42 +00:00 |
|
Steven Watanabe
|
db825889d8
|
Use the right variable. Fixes #5767.
[SVN r74169]
|
2011-08-30 21:14:01 +00:00 |
|
Steven Watanabe
|
56e40890ca
|
geometric_distribution::min should be 0. Fixes #5704.
[SVN r74168]
|
2011-08-30 19:31:43 +00:00 |
|
Daniel James
|
04ade5c792
|
Random: fix constexpr in integer_log2_impl.
[SVN r72991]
|
2011-07-09 17:13:59 +00:00 |
|
Steven Watanabe
|
7b6a46822b
|
Replace 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.
[SVN r72826]
|
2011-06-30 22:27:53 +00:00 |
|
Steven Watanabe
|
a6edff511a
|
Remove use of discard to avoid breaking Boost.TR1.
[SVN r72825]
|
2011-06-30 21:52:51 +00:00 |
|
Daniel James
|
22cef6849c
|
Random: disable incorrect use of constexpr for now.
[SVN r72799]
|
2011-06-29 17:49:27 +00:00 |
|
Steven Watanabe
|
94645686dc
|
Oops. This copy/paste error makes sun 5.10 unhappy.
[SVN r70785]
|
2011-03-31 14:53:33 +00:00 |
|
Steven Watanabe
|
b3199f21ed
|
Attempt to fix sun 5.10 overload resolution problem.
[SVN r70784]
|
2011-03-31 14:50:26 +00:00 |
|
Steven Watanabe
|
8978939937
|
Somehow sun-5.10 gets the type of bits wrong.
[SVN r70782]
|
2011-03-31 14:41:36 +00:00 |
|
Steven Watanabe
|
17727c6cfb
|
pgi 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.
[SVN r70762]
|
2011-03-30 21:00:41 +00:00 |
|
Steven Watanabe
|
faf1e5ea24
|
Use fmod before casting to uint32_t. xlc and sun were saturating to 0xFFFFFFFF instead of taking the low order bits.
[SVN r70761]
|
2011-03-30 20:41:50 +00:00 |
|
Steven Watanabe
|
5538ef2de8
|
Fix for gcc 3.4.6
[SVN r70700]
|
2011-03-29 16:03:19 +00:00 |
|
Hartmut Kaiser
|
ba92085d94
|
Preventing macro substitution
[SVN r70319]
|
2011-03-21 17:15:10 +00:00 |
|
Steven Watanabe
|
92818ae651
|
MSVC 7.1 and 8.0 seem to have trouble handling this friend declaration. Try to make it simpler. Refs #5321.
[SVN r70071]
|
2011-03-17 17:14:38 +00:00 |
|
Steven Watanabe
|
c8b83bcc93
|
Make sure that integer_log2 works on more than just msvc and gcc.
[SVN r70064]
|
2011-03-17 16:28:25 +00:00 |
|
Steven Watanabe
|
6603ca0b98
|
Add missing inline
[SVN r70061]
|
2011-03-17 15:45:12 +00:00 |
|
Steven Watanabe
|
ff74124051
|
Replace a couple slow iterative algorithms with multi-precision arithmetic.
[SVN r70047]
|
2011-03-17 03:45:39 +00:00 |
|
Steven Watanabe
|
cb6b4f1ffb
|
Warning patrol
[SVN r70017]
|
2011-03-16 03:24:42 +00:00 |
|
Steven Watanabe
|
45255face5
|
Intel and PGI don't seem to like the friend declarations as written.
[SVN r70007]
|
2011-03-15 22:51:43 +00:00 |
|
Steven Watanabe
|
75aa8b6e82
|
Try to help the compiler see through all the constants.
[SVN r70005]
|
2011-03-15 21:03:46 +00:00 |
|
Steven Watanabe
|
544fc7e4e1
|
Make sure that the type of the seed argument is consistent with the standard for all generators. Eliminate the odd rand48 seeding rules.
[SVN r69995]
|
2011-03-15 00:47:25 +00:00 |
|
Steven Watanabe
|
04131d73f3
|
Add missing property
[SVN r69979]
|
2011-03-14 20:43:45 +00:00 |
|
Steven Watanabe
|
0a430d620a
|
Move random_number_generator into namespace random, tweak the implementation a bit, and add a test case.
[SVN r69978]
|
2011-03-14 20:38:12 +00:00 |
|
Steven Watanabe
|
30a2b59c7b
|
Make sure that discard is always provided by using uintmax_t instead of ulong_long_type.
[SVN r69976]
|
2011-03-14 20:09:37 +00:00 |
|
Steven Watanabe
|
0265c4371d
|
Remove pass_through_engine. Make uniform_int_float more correct.
[SVN r69975]
|
2011-03-14 19:42:32 +00:00 |
|
Steven Watanabe
|
2690f16a2c
|
Some optimizations for ranlux.
[SVN r69969]
|
2011-03-14 02:46:15 +00:00 |
|
Steven Watanabe
|
cfb5ec9825
|
Add missing file.
[SVN r69961]
|
2011-03-13 18:28:07 +00:00 |
|
Steven Watanabe
|
d096eb569f
|
Make seeding more consistent and add some tests to lock down the algorithms.
[SVN r69912]
|
2011-03-13 04:49:34 +00:00 |
|
Steven Watanabe
|
ed945c9eb1
|
A separate WeightType doesn't make sense for piecewise_linear_distribution.
[SVN r68968]
|
2011-02-17 16:28:12 +00:00 |
|
Steven Watanabe
|
b0b7fb471a
|
Apparently, neither gcc 4.5, nor msvc 10 can optimize away this loop.
[SVN r68874]
|
2011-02-14 22:44:10 +00:00 |
|
Steven Watanabe
|
3738b7e4ff
|
Update performance numbers.
[SVN r68872]
|
2011-02-14 21:31:10 +00:00 |
|
Steven Watanabe
|
e4fbc88c54
|
Optimize linear_congruential_engine::discard.
[SVN r68851]
|
2011-02-13 20:21:15 +00:00 |
|
Steven Watanabe
|
e4cca265d0
|
Use unsigned types everywhere to be compatible with the standard, which is more restrictive in this respect.
[SVN r68823]
|
2011-02-13 04:05:26 +00:00 |
|
Steven Watanabe
|
8c30753bf4
|
Sync the docs with the current library.
[SVN r68822]
|
2011-02-13 03:28:59 +00:00 |
|
Steven Watanabe
|
21d66a0a2c
|
Fix problems reported by inspect.
[SVN r68817]
|
2011-02-12 20:03:17 +00:00 |
|
Steven Watanabe
|
d3e19bbc4f
|
#include everything in boost/random.hpp
[SVN r68815]
|
2011-02-12 19:07:36 +00:00 |
|
Steven Watanabe
|
6858fa9514
|
Update random_device.
[SVN r68814]
|
2011-02-12 18:41:28 +00:00 |
|
Steven Watanabe
|
6962916b79
|
Implement generate_canonical.
[SVN r68813]
|
2011-02-12 18:06:40 +00:00 |
|
Steven Watanabe
|
fabd860d65
|
Maybe fix sun?
[SVN r68806]
|
2011-02-12 15:31:42 +00:00 |
|
Steven Watanabe
|
b5b8a2d4df
|
Implement independent_bits_engine.
[SVN r68804]
|
2011-02-12 15:28:53 +00:00 |
|
Steven Watanabe
|
a9f049de2a
|
Codegear fixes.
[SVN r68789]
|
2011-02-11 22:07:04 +00:00 |
|
Steven Watanabe
|
46a47b2a9d
|
Help pgi?
[SVN r68788]
|
2011-02-11 21:32:07 +00:00 |
|
Steven Watanabe
|
edf89f7503
|
Move all generator tests to the new framework.
[SVN r68783]
|
2011-02-11 19:16:29 +00:00 |
|
Steven Watanabe
|
b653381ac4
|
Fix constructor.
[SVN r68769]
|
2011-02-11 02:11:57 +00:00 |
|
Steven Watanabe
|
67843975c0
|
Update xor_combine to match C++0x. min/max are still broken.
[SVN r68767]
|
2011-02-11 01:16:34 +00:00 |
|
Steven Watanabe
|
c646f4babb
|
Update linear_feedback_shift_engine to match C++0x.
[SVN r68759]
|
2011-02-10 03:30:27 +00:00 |
|
Steven Watanabe
|
b5be1f6d9e
|
Factor out some common seeding code.
[SVN r68758]
|
2011-02-10 01:27:11 +00:00 |
|