diff options
author | Haakan Younes <hyounes@google.com> | 2012-10-24 12:20:19 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2012-10-24 12:20:19 +0000 |
commit | c2d9083df222456f5d0f15d5a6ceca7a97ded8b9 (patch) | |
tree | 0c8ee68c0703de1fab83e2d0e6acb422847fc01e /gcc/fortran/trans-expr.c | |
parent | c6c084858c967229e5366b7e1ee45820e7e3ba4d (diff) | |
download | gcc-c2d9083df222456f5d0f15d5a6ceca7a97ded8b9.zip gcc-c2d9083df222456f5d0f15d5a6ceca7a97ded8b9.tar.gz gcc-c2d9083df222456f5d0f15d5a6ceca7a97ded8b9.tar.bz2 |
re PR libstdc++/55047 (operator() in std::exponential_distribution may call log(0))
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.
Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>
From-SVN: r192762
Diffstat (limited to 'gcc/fortran/trans-expr.c')
0 files changed, 0 insertions, 0 deletions