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
Steven Watanabe
ce603fe0b3 Merge remote-tracking branch 'origin/pr/no-boost-mp' into develop 2021-02-17 04:41:20 -07:00
jzmaddock
ce8cf4ee18 Merge pull request #80 from mborland/minmax
Fixes for MSVC macro substitutions
2021-02-05 19:14:34 +00:00
Matt Borland
4abf9ece63 Fixes for MSVC macro substitutions 2021-01-28 20:02:27 +03:00
Edward Diener
63231028bb [skip ci] Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries in order to specify the minumum C++ standard compilation level. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. 2021-01-21 03:20:29 -05:00
Peter Dimov
2e8ae88394 Remove dependence on multiprecision::lsb, msb 2021-01-01 18:14:29 +02:00
Peter Dimov
b816e3b8c4 Remove dependency on Boost.Math 2020-12-27 07:46:39 +02:00
Peter Dimov
1e778bfc22 Add missing <cstddef> includes 2020-12-24 16:21:54 +02:00
JeffGarland
0251684151 remove dependence on now empty boost_system library boost-1.75.0 2020-11-25 11:05:11 -07:00
Edward Diener
c745863594 No quotes are supposed to be in the library name for BOOST_LIB_NAME 2020-11-25 11:05:11 -07:00
Edward Diener
095e35398f Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. 2020-11-25 11:05:11 -07:00
Romain Geissler
2823a3ab67 Fix -Wtautological-overlap-compare clang warning in linear_congruential.hpp
Clang 10 shows this warning/error (with -Werror):

/remote/intdeliv/components/osp/Boost/19-0-0-18/include/boost/random/linear_congruential.hpp:140:20: error: overlapping comparisons always evaluate to false [-Werror,-Wtautological-overlap-compare]
        if(_x <= 0 && _x != 0) {
           ~~~~~~~~^~~~~~~~~~
/remote/intdeliv/components/osp/Boost/19-0-0-18/include/boost/random/linear_congruential.hpp:393:11: note: in instantiation of member function 'boost::random::linear_congruential_engine<unsigned long, 25214903917, 11, 281474976710656>::seed' requested here
    { lcf.seed(cnv(x0)); }
2020-11-25 11:05:10 -07:00
Nikita Kniazev
d957fd8732 Cease dependence on MPL 2020-11-25 11:05:10 -07:00
Steven Watanabe
3f518a4a3b Make engine min/max constexpr. 2020-11-25 11:05:10 -07:00
Steven Watanabe
137b70a53b Fix excessive looping. Fixes #53. 2020-11-25 11:05:10 -07:00
Steven Watanabe
b8d5df3116 Merge remote-tracking branch 'Kojoley/cease-dependence-on-mpl' into develop 2020-07-07 17:42:52 -06:00
Steven Watanabe
9823ce96e4 Merge remote-tracking branch 'JeffGarland/develop' into develop 2020-07-07 17:39:18 -06:00
Steven Watanabe
c92eced8f1 Merge remote-tracking branch 'eldiener/develop' into develop 2020-07-07 17:21:26 -06:00
Steven Watanabe
f5c6c6bacf cstdint is C++11 2020-07-07 17:18:40 -06:00
Steven Watanabe
1182a4071e Merge remote-tracking branch 'kotika/develop' into develop 2020-07-07 17:05:13 -06:00
JeffGarland
362a9bf1e7 remove dependence on now empty boost_system library 2020-07-06 14:08:04 -07:00
Kostas Savvidis
7c0cad1cd4 Use boost::array instead of std::srray - no other changes req 2020-05-14 11:50:02 +03:00
Edward Diener
43b205b1d2 No quotes are supposed to be in the library name for BOOST_LIB_NAME 2020-04-08 15:34:33 -04:00
Edward Diener
a9e6cb9493 Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. 2020-03-31 16:17:57 -04:00
Romain Geissler
a668525393 Fix -Wtautological-overlap-compare clang warning in linear_congruential.hpp
Clang 10 shows this warning/error (with -Werror):

/remote/intdeliv/components/osp/Boost/19-0-0-18/include/boost/random/linear_congruential.hpp:140:20: error: overlapping comparisons always evaluate to false [-Werror,-Wtautological-overlap-compare]
        if(_x <= 0 && _x != 0) {
           ~~~~~~~~^~~~~~~~~~
/remote/intdeliv/components/osp/Boost/19-0-0-18/include/boost/random/linear_congruential.hpp:393:11: note: in instantiation of member function 'boost::random::linear_congruential_engine<unsigned long, 25214903917, 11, 281474976710656>::seed' requested here
    { lcf.seed(cnv(x0)); }
2020-02-26 14:31:16 +00:00
Kostas Savvidis
3df2cd9b09 just a reindent and beautification 2019-11-27 20:08:10 +02:00
Kostas Savvidis
4fa691bd27 Update mixmax.hpp 2019-11-27 10:24:51 +02:00
Nikita Kniazev
40bc6ef668 Cease dependence on MPL 2019-11-22 22:13:12 +03:00
Kostas Savvidis
3a8d72fbbc Update generators.qbk 2019-10-29 16:00:15 +02:00
kotika
1ff8087a0c Passed through a C++ Beautifier on October 29 2019-10-29 14:04:02 +02:00
Kostas Savvidis
a795954106 Update random.hpp 2019-10-29 13:01:20 +02:00
Kostas Savvidis
f382cf4fd6 Update Jamfile.v2 2019-10-29 12:11:35 +02:00
Kostas Savvidis
f6eedeb784 Update random_speed.cpp 2019-10-29 12:08:50 +02:00
Kostas Savvidis
6e68e047f3 Update random_speed.cpp 2019-10-29 12:07:33 +02:00
Kostas Savvidis
d565c034aa Update Jamfile.v2 2019-10-29 12:06:07 +02:00
Kostas Savvidis
d1bca7b57f Add files via upload 2019-10-29 12:05:09 +02:00
Kostas Savvidis
20c59551ca added mixmax_skip_N17.ipp 2019-10-29 11:02:31 +02:00
Kostas Savvidis
9916ec3ca8 Add files via upload
added mixmax.hpp
2019-10-29 11:01:50 +02:00
Steven Watanabe
ed7ab807e6 Make engine min/max constexpr. 2019-03-28 14:22:45 -06:00
Steven Watanabe
a4f1784f68 Fix excessive looping. Fixes #53. 2019-03-28 10:06:39 -06:00
Steven Watanabe
5d9ba8578a Merge branch 'develop' boost-1.75.0.beta1 boost-1.74.0.beta1 boost-1.74.0 boost-1.73.0.beta1 boost-1.73.0 boost-1.72.0.beta1 boost-1.72.0 boost-1.71.0.beta1 boost-1.71.0 boost-1.70.0.beta1 boost-1.70.0 2018-12-19 10:21:58 -07:00
Steven Watanabe
c7b6f42a5a Merge remote-tracking branch 'anton-matosov/develop' into develop 2018-10-25 17:49:47 -06:00
Steven Watanabe
d217e56535 Merge remote-tracking branch 'NAThompson/remove_deprecated_header' into develop 2018-10-25 13:15:33 -06:00
Steven Watanabe
1559df6b19 Merge branch 'develop' boost-1.69.0-beta1 boost-1.69.0 boost-1.68.0 2018-06-25 16:30:58 -06:00
Steven Watanabe
60c43db293 Fix signed integer overflow in niederreiter_base2.
Suppress other (spurious) warnings from msvc.
2018-05-12 19:57:16 -06:00
Anton Matosov
b8a6545710 Pre-allocate memory to increase insertion performance 2018-03-22 16:13:55 -07:00
Justinas V. Daugmaudis
5ebb0554d9 Nitpicky type adjustments 2018-03-14 14:28:20 +02:00
Justinas V. Daugmaudis
c4dfa03901 Strong exception safety for lattice computation 2018-03-13 18:50:52 +02:00
Justinas V. Daugmaudis
b14d592873 Quick fixes
Fix warnings
low_bits_mask_t
use high_bit_mask_t
Moved qrng details to namespace qrng_detail
Removed unnecessary function
Simplify gray code size check & readability
Disallow negative seeds
2018-03-10 12:54:04 +02:00
Justinas V. Daugmaudis
742474824f Fix docs
Edit comment
2018-03-06 15:32:17 +02:00
Justinas V. Daugmaudis
c7c9bc3500 Example added 2018-03-06 12:35:59 +02:00