Add atest and adjust mulberry32
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @see https://github.com/cprosche/mulberry32
|
||||
*/
|
||||
export function mulberry32(a: number) {
|
||||
export function mulberry32(a: number): () => number {
|
||||
return () => {
|
||||
a |= 0;
|
||||
a = (a + 0x6d2b79f5) | 0;
|
||||
|
||||
Reference in New Issue
Block a user