User talk:Zbjornson

Xorshift
Hello and welcome to Wikipedia! I wanted to point out that the DLang issue you referenced in Xorshift example was related to the missing XOR operation in second line, which is a typo present in original paper (but not reproduced on Wikipedia), not to a choice of parameters, despite one reviewer expressing such concern there. However, their concern was baseless as it's one of 648 valid choices for 32-bit generator described in the paper—the table lists only 81 tuples where a<b, but with second of the eight update rules on the next page (p.3), the tuple [5,17,13] from the table yields the selection named favorite by Marsaglia where [a,b,c]=[13,17,5]. It's a full-cycle generator as it should be and there's no reason to believe it's not the intended one, especially as these numbers are repeated in a text below the code. Perhaps it makes sense to note how Wikipedia example differs from the published code (having the missing ), but I don't think it's worth cluttering the example even further. — mwgamera (talk) 10:51, 23 March 2018 (UTC)

Thanks and thanks for pointing that out. I see now the comment in the paper about (c,b,a) being a valid triple as well. I've undone my change to that page. Zbjornson (talk) 22:50, 27 March 2018 (UTC)