This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r193070 - in /branches/gcc-4_7-branch/libstdc++...
- From: paolo at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Thu, 01 Nov 2012 21:09:52 -0000
- Subject: r193070 - in /branches/gcc-4_7-branch/libstdc++...
Author: paolo
Date: Thu Nov 1 21:09:51 2012
New Revision: 193070
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193070
Log:
2012-11-01 Haakan Younes <hyounes@google.com>
Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/55047
* include/bits/random.h (exponential_distribution<>::operator):
Fix formula to std::log(result_type(1) - __aurng()).
* include/bits/random.tcc: Likewise, everywhere.
Modified:
branches/gcc-4_7-branch/libstdc++-v3/ChangeLog
branches/gcc-4_7-branch/libstdc++-v3/include/bits/random.h
branches/gcc-4_7-branch/libstdc++-v3/include/bits/random.tcc