https://github.com/hvass-labs/randomops
Pseudo-Random Number Generators for C# and C
https://github.com/hvass-labs/randomops
Last synced: 7 months ago
JSON representation
Pseudo-Random Number Generators for C# and C
- Host: GitHub
- URL: https://github.com/hvass-labs/randomops
- Owner: Hvass-Labs
- License: mit
- Created: 2020-02-09T12:55:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-09T13:07:40.000Z (over 5 years ago)
- Last Synced: 2025-02-09T09:12:54.214Z (8 months ago)
- Size: 619 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RandomOps - Pseudo-Random Numbers for C# and C
These are my old implementations of various Pseudo-Random Number Generators (PRNGs) in the C# and C programming languages.
## C#
Algorithms:
- Ran2 from the book 'Numerical Recipes in C' by Press et al.
- Mersenne Twister by Matsumoto et al.
- KISS, XorShift, MWC256 and CMWC4096 algorithms by Marsaglia.
- Parallelized versions of MWC256 and CMWC4096.
- An interface to www.random.org for transparent retrieval of 'true' random bits through the internet.Download:
- [ZIP source-code](https://github.com/Hvass-Labs/RandomOps/raw/master/RandomOpsCS2_1.zip)
- [PDF manual](https://github.com/Hvass-Labs/RandomOps/raw/master/RandomOpsCS2_1.pdf)## C
Algorithms:
- Ran2 from the book 'Numerical Recipes in C' by Press et al., but implemented from scratch here with a number of modifications.
Download:
- [ZIP source-code](https://github.com/Hvass-Labs/RandomOps/raw/master/RandomOpsC1_2.zip)
- [PDF manual](https://github.com/Hvass-Labs/RandomOps/raw/master/RandomOpsC1_2.pdf)