This commit is contained in:
parent
7a9bf3199a
commit
c294e2e9ae
5702 changed files with 465039 additions and 34 deletions
7
node_modules/pure-rand/lib/esm/distribution/UnsafeGenerateN.js
generated
vendored
Normal file
7
node_modules/pure-rand/lib/esm/distribution/UnsafeGenerateN.js
generated
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
export function unsafeGenerateN(rng, num) {
|
||||
var out = [];
|
||||
for (var idx = 0; idx != num; ++idx) {
|
||||
out.push(rng.unsafeNext());
|
||||
}
|
||||
return out;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue