This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/80506] Wrong magic number in std::gamma_distribution


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]