summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorstderr64 <stderr64@null.net>2026-09-24 20:49:27 +0300
committerstderr64 <stderr64@null.net>2026-09-24 20:49:27 +0300
commitf54963e1364568d8f4f6e1a5be1646d4c5e7a94e (patch)
tree447191762cf030afce72724b8374b06348feab2d /include
downloadlibxorshift-f54963e1364568d8f4f6e1a5be1646d4c5e7a94e.tar.gz
libxorshift-f54963e1364568d8f4f6e1a5be1646d4c5e7a94e.tar.zst
First commit
Diffstat (limited to 'include')
-rw-r--r--include/xorshift.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/xorshift.h b/include/xorshift.h
new file mode 100644
index 0000000..0e58967
--- /dev/null
+++ b/include/xorshift.h
@@ -0,0 +1,4 @@
+bool initialize_states();
+uint32_t get_random_output();
+uint32_t get_uniform_uint( uint32_t min, uint32_t max );
+void clear_rng_state();