Linear congruential generator: Difference between revisions

m
m (→‎{{header|Wren}}: Minor tidy)
Line 3,879:
{{libheader|Wren-fmt}}
Some of the intermediate calculations here require integers >= 2^53 so we need to use BigInt.
<syntaxhighlight lang="ecmascriptwren">import "./big" for BigInt
import "./fmt" for Fmt
 
// basic linear congruential generator
9,486

edits