Xorshift32

This commit is contained in:
2026-02-11 16:54:04 +01:00
parent feb4bd7fd4
commit 39d790a45c
3 changed files with 43 additions and 0 deletions

10
iris_c/random.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef RANDOM_H
#define RANDOM_H
#include <stdint.h>
void set_random_seed(uint32_t seed);
uint32_t random_u32(void);
uint32_t random_range(uint32_t max);
#endif