2
0
mirror of https://github.com/boostorg/random.git synced 2026-01-19 04:22:17 +00:00

822 Commits

Author SHA1 Message Date
Justinas V. Daugmaudis
9786f4f481 Aggregated review fixes
Check discard overflows
Check comparison overflows
Exception messages
Add missing docs and fix typedef ugliness
Better template param name
2018-03-04 00:02:58 +02:00
Justinas V. Daugmaudis
3db2d7cb71 Initial QRNG commit 2018-02-18 10:49:14 +02:00
Nick Thompson
1be44d405e [ci skip] Remove deprecated header. 2018-02-11 15:02:43 -06:00
Steven Watanabe
6d7e38a32c Merge branch 'develop' boost-1.67.0 2018-01-25 14:07:40 -07:00
Steven Watanabe
f3a83d0497 Remove duplicate test which is now detected by Boost.Test. 2018-01-23 13:12:48 -07:00
Steven Watanabe
c2fba24fbf Adjust the condition on brace initializers test to help some versions of gcc. 2018-01-10 14:54:32 -07:00
Steven Watanabe
122386c345 Merge remote-tracking branch 'jeking3/fix-warn' into develop 2018-01-02 17:38:13 -07:00
Steven Watanabe
8c09acf817 Fix example compilation. 2017-12-08 14:33:04 -07:00
Steven Watanabe
244b59abb6 Remove bind1st. 2017-12-07 15:17:23 -07:00
James E. King III
9c82aad413 fix some warnings reported by clang 2017-12-05 11:21:56 -05:00
Steven Watanabe
e4b0b2f5c0 Merge remote-tracking branch 'DanielaE/feature/replace-deprecated-c++98-stuff' into develop 2017-11-06 13:14:00 -07:00
Steven Watanabe
87477f5023 Work around problem on msvc-12/14 in release mode. 2017-11-06 13:12:44 -07:00
Steven Watanabe
2b4779fd5b If we're going to the trouble of fixing up the input, then reading should be considered successful. Also, make hyperexponential tests match the implementation. 2017-11-03 19:21:54 -06:00
Steven Watanabe
b58774fd54 Fix undefined behavior in independent_bits_engine, when filling all the bits of the result_type from a single call to the base engine. 2017-10-09 10:29:38 -06:00
Steven Watanabe
85ffca64e6 Fix typo in seed_seq which caused the wrong result when the output sequence is shorter than the input sequence. 2017-10-09 09:54:10 -06:00
Daniela Engert
e75d0b99b9 Replace deprecated/removed C++98 std::bind2nd by a custom function object, and ignore tests focussing on std::random_shuffle.
Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-05-13 19:24:05 +02:00
Steven Watanabe
64138e847b Merge branch 'develop' boost-1.66.0 boost-1.65.1 boost-1.65.0 boost-1.64.0-beta2 boost-1.64.0-beta1 boost-1.64.0 2017-02-25 13:46:15 -07:00
Rene Rivera
cc09e26dd4 Add, and update, documentation build targets. boost-1.63.0 2016-10-10 11:39:52 -05:00
Rene Rivera
ab411acba3 Add, and update, documentation build targets. 2016-10-07 23:07:36 -05:00
Steven Watanabe
c7d1b4f351 Use the ziggurat algorithm for the exponential distribution and make some improvements to the normal distribution. Patch by Jason Rhinelander. Fixes #23. 2016-07-06 11:32:38 -06:00
Steven Watanabe
8bc5a15481 Merge branch 'develop' boost-1.62.0 boost-1.61.0 2016-02-20 17:44:57 -07:00
Steven Watanabe
18099e4a11 Suppress conversion warning. 2016-02-19 10:45:05 -07:00
Steven Watanabe
fdd3073448 Suppress warning. 2016-02-18 12:57:06 -07:00
Steven Watanabe
29e8bd59a2 Add a missing break for one dimensional case of uniform_on_sphere. Fixes #11454. 2016-02-13 13:55:27 -07:00
Steven Watanabe
2a04b0ba63 Retry reading if we got less than 4 bytes. Fixes #10980. 2016-02-13 10:39:04 -07:00
Steven Watanabe
b46bfcc3c9 Merge branch 'develop' boost-1.60.0 2015-10-20 09:16:25 -06:00
Steven Watanabe
0cf63f2adb Use BOOST_SYMBOL_IMPORT|EXPORT. 2015-04-01 13:31:44 -06:00
Steven Watanabe
2d95a5a605 Merge remote-tracking branch 'MarcelRaad/patch-1' into develop 2015-04-01 12:37:20 -06:00
Steven Watanabe
89174b6ca3 Add hyperexponential_distribution. Contributed by Marco Guazzone. 2015-04-01 10:08:06 -06:00
Steven Watanabe
a4d8dfccf7 Merge remote-tracking branch 'jzmaddock/mt2' into develop 2015-03-14 12:30:54 -06:00
jzmaddock
8699d435f8 Add traits.hpp to doc build. 2015-03-14 18:06:34 +00:00
jzmaddock
839acad329 Get multiprecision floating point support working, and add test case. 2015-03-14 18:06:14 +00:00
jzmaddock
d4514f1e07 Fix integer distributions for multiprecision support, and add support for one multiprecision generator (independent_bits_engine).
Added test case for multiprecision integers.
2015-03-14 18:05:23 +00:00
jzmaddock
ef63274cec Add missing #includes. 2015-03-14 17:58:27 +00:00
Steven Watanabe
18d302d63b Merge remote-tracking branch 'sergiud/develop' into develop 2015-03-14 11:36:39 -06:00
Steven Watanabe
6af9a818a4 Merge branch 'john-peterson/rt' into develop 2015-03-14 11:24:36 -06:00
John Sebastian Peterson
1e901ec3bf Port to Windows Runtime 2015-03-14 11:22:40 -06:00
Steven Watanabe
f5859d5d38 Add documentation of generate_canonical. 2015-03-05 15:34:22 -07:00
Steven Watanabe
b4de480fd8 Merge branch 'develop' boost-1.59.0 boost-1.58.0 2015-02-27 10:44:45 -07:00
Alex Henrie
c627f3c759 Correct spelling of "suppress" 2015-02-25 18:07:47 -07:00
Steven Watanabe
394439ae88 Add using declaration for sqrt. Fixes #10950. 2015-02-25 18:04:47 -07:00
Steven Watanabe
006eb9f7c0 Update Jamfile.v2
Fix image location for PDF doc build
2015-02-25 17:40:34 -07:00
Steven Watanabe
fd3d33df4c Avoid using uintptr_t. 2015-02-25 17:33:10 -07:00
jzmaddock
2f432ffed2 Add includes for mpl types - replying on implicit includes via type traits won't work going forward. 2015-02-25 16:46:07 -07:00
Peter Dimov
560b9dae64 Merge branch 'develop' 2015-01-25 21:23:10 +02:00
Peter Dimov
f8c3994e98 Merge pull request #8 from danieljames/metadata
Create metadata file.
2015-01-25 20:31:01 +02:00
Daniel James
a1205f041a Add metadata file. 2014-08-18 15:09:49 +01:00
Sergiu Dotenco
3dc8c147e4 fixed type conversion warnings emitted by msvc 12.0 for 64-bit builds 2014-08-05 17:34:25 +02:00
Marcel Raad
cb7f87e0a7 Fix variable shadowing warning
Microsoft Visual C++ 14 has a new warning:
"warning C4456: declaration of 'u' hides previous local declaration".
2014-07-03 19:14:57 +02:00
Steven Watanabe
a8aed49f29 Use the right upper bound for the exponent. 2014-04-12 11:26:16 -07:00