mirror of
https://github.com/boostorg/random.git
synced 2026-01-19 04:22:17 +00:00
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.
6.0 KiB
6.0 KiB