[Bug libstdc++/87527] uniform_real_distribution can't generate the full range of finite floating point numbers

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 23 15:31:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87527

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
$ g++ -D_GLIBCXX_ASSERTIONS uniform_real.cc 
$ ./a.out
a.out: uniform_real.cc:13: int main(): Assertion `x >= low && x < high' failed.


More information about the Gcc-bugs mailing list