Pseudo-random numbers/Splitmix64: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) (Doh. Confidently incorrect. Fix some precedence / bit masking problems. Replace wrong expected results with correct ones.) |
m (→{{header|Wren}}: Removed part of preamble as all well now.) |
||
Line 258: | Line 258: | ||
{{libheader|Wren-big}} |
{{libheader|Wren-big}} |
||
No 64 bit integers so we use BigInt with a mask. |
No 64 bit integers so we use BigInt with a mask. |
||
Same answers as C reference implementation above. Can't see any essential difference between that and the pseudo-code. Raku's next-int method may need intermediate masks. |
|||
<lang ecmascript>import "/big" for BigInt |
<lang ecmascript>import "/big" for BigInt |
||