jzmaddock
4239d93dad
Update multiprecision_float_test.cpp to not overflow type double.
...
Previously the max value for uint1024_t could just squeeze into a double because truncation occurred during the conversion, now that cpp_int performs correctly rounded conversions, overflow occurs, and the computation fails. Changed the problem distribution to use a multiprecision weight type, rather than double.
2022-06-01 19:35:36 +01:00
jzmaddock
7561690135
Update multiprecision_int_test.cpp to not accidentality overflow type double.
...
Multiprecision now performs correct rounding when converting to double - previously the max value for uint1024_t would just fit in a double if it was truncated. But now that it's correctly rounded it overflows and breaks the calculation.
2022-06-01 19:32:55 +01:00
jzmaddock
c3ada7a1b2
Add missing #includes.
2021-03-16 10:47:16 +00:00
Steven Watanabe
6a5f8e4dc1
Merge remote-tracking branch 'eldiener/develop' into develop
2021-02-17 05:15:10 -07:00
Steven Watanabe
7a2b5e4968
Fix compilation
2021-02-17 05:13:30 -07:00
Steven Watanabe
29423ceff9
Merge remote-tracking branch 'origin/pr/no-boost-math' into develop
2021-02-17 04:42:26 -07:00
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
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
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
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
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