Pseudo-random numbers/Xorshift star: Difference between revisions
Pseudo-random numbers/Xorshift star (view source)
Revision as of 20:49, 11 August 2020
, 3 years ago→{{header|Raku}}: Separate BUILD and TWEAK is overkill for this instance
(→{{header|Wren}}: nextFloat now returns a Num rather than a BigRat. Second part quicker as a result.) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: Separate BUILD and TWEAK is overkill for this instance) |
||
Line 208:
constant const = 0x2545F4914F6CDD1D;
submethod BUILD ( Int :$seed where * > 0 = 1 ) {
$!seed = $seed;
}
method next-int {
|