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: Sun, 06 May 2018 00:59:38 +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 #4 from emsr at gcc dot gnu.org ---
Created attachment 44079
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44079&action=edit
Patch for trunk and branch-8.
Ok, i was looking at backporting this and there are two more places in
gamma_distribution<_RealType>::
__generate_impl(_ForwardIterator __f, _ForwardIterator __t,
_UniformRandomNumberGenerator& __urng,
const param_type& __param)
where this same bit is pasted!
So I'll patch trunk on down.