An open API service indexing awesome lists of open source software.

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

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)