[Issue 17068] Range-based seeding of MersenneTwisterEngine is inconsistent with C++11

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17068 Iain Buclaw changed: What|Removed |Added Priority|P1 |P3 --

[Issue 17068] Range-based seeding of MersenneTwisterEngine is inconsistent with C++11

2017-01-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17068 --- Comment #2 from Joseph Rushton Wakeling --- I've attached small code snippets to show the difference between the D and C++11 behaviour. Running these on my machine the D code outputs (apart from the seed data) 1st

[Issue 17068] Range-based seeding of MersenneTwisterEngine is inconsistent with C++11

2017-01-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17068 --- Comment #1 from Joseph Rushton Wakeling --- Created attachment 1632 --> https://issues.dlang.org/attachment.cgi?id=1632=edit Small example of sequence-based seeding of C++11 Mersenne Twister Compile with the