aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-03-28 17:09:49 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2017-03-28 17:09:49 +0100
commit92d85953a54ab7bf45f49e35cae98253eaf00752 (patch)
treea616fc03fc91a88ce7eb94224dcc0d097b87b25f /gcc
parent9d384e80bda2cf905cd550c8908494210ae11c15 (diff)
downloadgcc-92d85953a54ab7bf45f49e35cae98253eaf00752.zip
gcc-92d85953a54ab7bf45f49e35cae98253eaf00752.tar.gz
gcc-92d85953a54ab7bf45f49e35cae98253eaf00752.tar.bz2
PR libstdc++/80137 use std::nextafter instead of looping
PR libstdc++/80137 * include/bits/random.tcc (generate_canonical): Use std::nextafter or numeric_limits::epsilon() to reduce out-of-range values. * testsuite/26_numerics/random/uniform_real_distribution/operators/ 64351.cc: Verify complexity requirement is met. From-SVN: r246542
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions