aboutsummaryrefslogtreecommitdiff
path: root/common/xorshift.h
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-10-02 01:23:31 +0200
committerjaseg <git@jaseg.de>2023-10-02 01:23:31 +0200
commitc8623eb4c6c1464ffd49e83126e66d71ba5bf862 (patch)
tree55151e10f1ca05f2539de59778e757819038678e /common/xorshift.h
parent67e30fa91e12b452c1a18f6c5eb8a33cdb9ec625 (diff)
download8seg-c8623eb4c6c1464ffd49e83126e66d71ba5bf862.tar.gz
8seg-c8623eb4c6c1464ffd49e83126e66d71ba5bf862.tar.bz2
8seg-c8623eb4c6c1464ffd49e83126e66d71ba5bf862.zip
8b10b issues
Diffstat (limited to 'common/xorshift.h')
-rw-r--r--common/xorshift.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/xorshift.h b/common/xorshift.h
new file mode 100644
index 0000000..8d9f448
--- /dev/null
+++ b/common/xorshift.h
@@ -0,0 +1,8 @@
+#ifndef __XORSHIFT_H__
+#define __XORSHIFT_H__
+
+#include <stdint.h>
+
+uint32_t xorshift32(uint32_t x);
+
+#endif /* __XORSHIFT_H__ */