Pseudo-random numbers/Xorshift star: Difference between revisions
Content added Content deleted
Line 188: | Line 188: | ||
=={{header|Julia}}== |
=={{header|Julia}}== |
||
{{trans|Python}} |
{{trans|Python}} |
||
<lang julia>const mask64 = (0x1 << 64) - 1 |
|||
const mask32 = (0x1 << 32) - 1 |
const mask32 = (0x1 << 32) - 1 |
||
const CONST = 0x2545F4914F6CDD1D |
const CONST = 0x2545F4914F6CDD1D |
||
Line 235: | Line 236: | ||
0: 20103 1: 19922 2: 19937 3: 20031 4: 20007 |
0: 20103 1: 19922 2: 19937 3: 20031 4: 20007 |
||
</pre> |
</pre> |
||
=={{header|Python}}== |
=={{header|Python}}== |