Jump to content

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,483

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.