]> git.ipfire.org Git - thirdparty/gcc.git/commit
2012-10-24 Haakan Younes <hyounes@google.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Oct 2012 12:20:19 +0000 (12:20 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Oct 2012 12:20:19 +0000 (12:20 +0000)
commitc279067a7e0c1135478c02b3f846c1496cd995f0
tree0c8ee68c0703de1fab83e2d0e6acb422847fc01e
parent707cf6c32b20dea21cde431088c0c9afc3b0d71f
2012-10-24   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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192762 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/random.h
libstdc++-v3/include/bits/random.tcc