-
- Downloads
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
Showing
- libstdc++-v3/ChangeLog 6 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/bits/random.tcc 15 additions, 10 deletionslibstdc++-v3/include/bits/random.tcc
- libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/64351.cc 12 additions, 4 deletions...erics/random/uniform_real_distribution/operators/64351.cc
Loading
Please register or sign in to comment