2
0
mirror of https://github.com/boostorg/random.git synced 2026-01-19 04:22:17 +00:00
Files
random/test/multiprecision_float_test.cpp
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

6.0 KiB