added usage info and thanks

This commit is contained in:
2025-02-01 17:13:36 -05:00
parent 2bd69bcdae
commit bcaf45e1bc

View File

@@ -6,3 +6,23 @@ by George Marsaglia, Arif Zaman, Wai Wan Tsang
published in Statistics & Probability Letters Volume 9, Issue 1, January 1990, Pages 35-39
https://www.sciencedirect.com/science/article/abs/pii/016771529090092L?via%3Dihub
# Building
```bash
git clone https://git.redacted.cc/rich/ReUnirand.git
cd ReUnirand
mkdir build; cd build; cmake ..; make
./ReUnirand-Test
```
# Using
```c
rng.rinit(170); // seed value must be in range 0 to 900000000
float randomNumber = rng.uni();
```
# Thanks
Written by Rich, hosted on the Redacted gitea with thanks to Maxine, Bill and Josh.