This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r171553 - in /branches/gcc-4_6-branch/libstdc++...
- From: paolo at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Sat, 26 Mar 2011 10:02:35 -0000
- Subject: r171553 - in /branches/gcc-4_6-branch/libstdc++...
Author: paolo
Date: Sat Mar 26 10:02:34 2011
New Revision: 171553
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171553
Log:
2011-03-26 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/random.h (negative_binomial_distribution<>::
negative_binomial_distribution(_IntType, double),
negative_binomial_distribution<>::
negative_binomial_distribution(const param_type&)): Fix thinko
p / (1 - p) for (1 - p) / p.
* include/bits/random.tcc (negative_binomial_distribution<>::
operator()): Fix.
Modified:
branches/gcc-4_6-branch/libstdc++-v3/ChangeLog
branches/gcc-4_6-branch/libstdc++-v3/include/bits/random.h
branches/gcc-4_6-branch/libstdc++-v3/include/bits/random.tcc