ranxoshi256
ranxoshi256 copied to clipboard
Portable, single-file, PRNG library implementing the xoshiro256** algorithm
Documentation
This is a header-only library, as such most of its functional documentation is contained within the "header section" of the source code in the form of comments. It is highly recommended that you read said documentation before using this library.
Features
The ranxoshi256 library provides a ready implementation of the xoshiro256** algorithm, its features include:
- No hard dependencies besides the standard library, making it fully portable for most purposes
- Endian-proof seed function to allow for synchronized PRNGs across different machines
- Supports various output functions with different ranges and uniformities
Attribution
You are not required to give attribution when using this library. If you want to give attribution anyway, either link to this repository, my website, or credit me as BareRose. If you want to support me financially, consider giving to my Patreon.
License
Licensed under CC0 aka the most lawyer-friendly way of spelling "public domain".