Add atest and adjust mulberry32

This commit is contained in:
Schluffe committed 2026-08-09 18:34:25 +02:00
1 parent 2125b2fbbe
commit 81eaeda05a
2 files changed
+15 -1

No files matched your search

+1 -1
View File
@@ -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;