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++/29520] tr1: discrete_distributions vs large floating point values



------- Comment #3 from paolo at gcc dot gnu dot org  2006-10-29 10:49 -------
Subject: Bug 29520

Author: paolo
Date: Sun Oct 29 10:49:30 2006
New Revision: 118136

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118136
Log:
2006-10-29  Paolo Carlini  <pcarlini@suse.de>

        PR libstdc++/29520
        * include/tr1/random (geometric_distribution<>::
        operator()(_UniformRandomNumberGenerator&)): Only declare.
        * include/tr1/random.tcc (geometric_distribution<>::
        operator()(_UniformRandomNumberGenerator&),
        poisson_distribution<>::operator()(_UniformRandomNumberGenerator&),
        binomial_distribution<>::operator()(_UniformRandomNumberGenerator&)):
        Reject candidate floating point values not convertible to the
        result_type.

Modified:
    branches/gcc-4_2-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_2-branch/libstdc++-v3/include/tr1/random
    branches/gcc-4_2-branch/libstdc++-v3/include/tr1/random.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29520


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