OSDN Git Service

2012-11-01 Haakan Younes <hyounes@google.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Nov 2012 21:09:51 +0000 (21:09 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Nov 2012 21:09:51 +0000 (21:09 +0000)
commit9c4000472baec60431bf5e7cbdecec954e1cfbad
treeae9f7a7eb83004384afb303c7c16694b91690c04
parent89c360d0d452e80e51314e9a59c4eb053be7e2e8
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.

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