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

4 Commits

Author SHA1 Message Date
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
James E. King III
9c82aad413 fix some warnings reported by clang 2017-12-05 11:21:56 -05: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