[Issue 10550] Xorshift32 and Xorshift160 do not generate uniformly-distributed random numbers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jul 5 07:38:57 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10550
--- Comment #3 from Joseph Rushton Wakeling <joseph.wakeling at webdrake.net> 2013-07-05 07:38:56 PDT ---
(In reply to comment #2)
> I also think the choice of a, b, c values may be in error: currently we have
>
> alias XorshiftEngine!(uint, 32, 13, 17, 5) Xorshift32;
This seems to stem from a descriptive passage at the top of p.4 of the paper,
where this choice of a, b, c values is described as one of the author's
favourites. However, I suspect that this is a typo as it violates the a < c
rule described elsewhere in the paper and (as already stated) the 13, 17, 5
triple is not found in the table of appropriate triples for 32-bit Xorshift.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list