diff options
author | Michele Pezzutti <mpezz@tiscali.it> | 2017-12-24 23:08:52 +0100 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2017-12-24 22:08:52 +0000 |
commit | 73986c315bdf126a2100869878790dcfbab6bd82 (patch) | |
tree | 1ccec5ba66d7fca8f6235b54de3881a234da2eb0 /gcc | |
parent | 4f9621392f941937b5dca01eacfb3ba81b955476 (diff) | |
download | gcc-73986c315bdf126a2100869878790dcfbab6bd82.zip gcc-73986c315bdf126a2100869878790dcfbab6bd82.tar.gz gcc-73986c315bdf126a2100869878790dcfbab6bd82.tar.bz2 |
re PR libstdc++/83237 (Values returned by std::poisson_distribution are not distributed correctly)
2017-12-24 Michele Pezzutti <mpezz@tiscali.it>
PR libstdc++/83237
* include/bits/random.tcc (poisson_distribution<>::operator()):
Fix __x = 1 case - see updated Errata of Devroye's treatise.
* testsuite/26_numerics/random/poisson_distribution/operators/
values.cc: Add test.
* testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error
line number.
From-SVN: r255993
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions