[Bug libstdc++/89979] subtract_with_carry_engine incorrect carry flag

2021-08-31 Thread gcc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89979 --- Comment #4 from Christoph Conrads --- > LLVM's libc++ does not go into the 0 loop but still does not do a good job: The subtract-with-carry PRNG is a simple PRNG, it has a very long period whose length can be proved with elementary number

[Bug libstdc++/89979] subtract_with_carry_engine incorrect carry flag

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89979 --- Comment #3 from Andrew Pinski --- LLVM's libc++ does not go into the 0 loop but still does not do a good job: 4294967295 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 4294967295 1 0 0 0 0 0 4294967295 4294967295 1 0 0 0 0 4294967295 4294967295

[Bug libstdc++/89979] subtract_with_carry_engine incorrect carry flag

2019-04-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89979 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/89979] subtract_with_carry_engine incorrect carry flag

2019-04-04 Thread g...@christoph-conrads.name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89979 --- Comment #1 from Christoph Conrads --- There is no attachment with the preprocessed code demonstrating the problem because the this code is 1.2 MB large.