Hi, On 24/04/2017 15:43, Jonathan Wakely wrote:
We use the wrong constant for the Marsaglia Tsang algorithm.PR libstdc++/80506 * include/bits/random.tcc (gamma_distribution::operator()): Fix magic number used in loop condition. Tested powerpc64le-linux, committed to trunk.
Thanks Jon for handling this. It would still be very nice to have a testcase...
Cheers, Paolo.