This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/80506] Wrong magic number in std::gamma_distribution
- From: "emsr at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 07 May 2018 16:20:06 +0000
- Subject: [Bug libstdc++/80506] Wrong magic number in std::gamma_distribution
- Auto-submitted: auto-generated
- References: <bug-80506-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80506
--- Comment #7 from emsr at gcc dot gnu.org ---
Author: emsr
Date: Mon May 7 16:19:34 2018
New Revision: 260005
URL: https://gcc.gnu.org/viewcvs?rev=260005&root=gcc&view=rev
Log:
2018-05-07 Edward Smith-Rowland <3dw4rd@verizon.net>
Backport from mainline
2018-05-07 Edward Smith-Rowland <3dw4rd@verizon.net>
Moar PR libstdc++/80506
* include/bits/random.tcc (gamma_distribution::__generate_impl()):
Fix magic number used in loop condition.
Modified:
branches/gcc-8-branch/libstdc++-v3/ChangeLog
branches/gcc-8-branch/libstdc++-v3/include/bits/random.tcc