initial
This commit is contained in:
19
reference/random.js
Normal file
19
reference/random.js
Normal file
@@ -0,0 +1,19 @@
|
||||
next() {
|
||||
let e = 0 | (this.state += 0x9e3779b9);
|
||||
return (
|
||||
(
|
||||
(
|
||||
(
|
||||
e = Math.imul(
|
||||
(
|
||||
e = Math.imul(
|
||||
e ^ (e >>> 16), 0x85ebca6b
|
||||
)
|
||||
) ^ (e >>> 13),
|
||||
0xc2b2ae35,
|
||||
)
|
||||
) ^ (e >>> 16)
|
||||
) >>> 0
|
||||
) / 0x100000000
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user