XoshiroPRNG.Net 1.3.1

Xoshiro/Xoroshiro PRNG Family with compatibility to System.Random plus custom "Unleashed" interface

Install-Package XoshiroPRNG.Net -Version 1.3.1
dotnet add package XoshiroPRNG.Net --version 1.3.1
<PackageReference Include="XoshiroPRNG.Net" Version="1.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XoshiroPRNG.Net --version 1.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Originally published as pepoluan.xoshiro

This is a hand-optimized C# implementation of the xoshiro/xoroshiro PRNG family created by Sebastiano Vigna and David Blackman.

NO unsafe code is used, yet it is as performant as -- if not more performant than -- System.Random. Here's a non-exhaustive proof.

For documentation -- and a much more detailed README -- please check XoshiroPRNG.Net Repository on BitBucket.

(Unit Tests are also available in the repo.)

Originally published as pepoluan.xoshiro

This is a hand-optimized C# implementation of the xoshiro/xoroshiro PRNG family created by Sebastiano Vigna and David Blackman.

NO unsafe code is used, yet it is as performant as -- if not more performant than -- System.Random. Here's a non-exhaustive proof.

For documentation -- and a much more detailed README -- please check XoshiroPRNG.Net Repository on BitBucket.

(Unit Tests are also available in the repo.)

Release Notes

XML Docs now included in package.
Add new license option: The Unlicense.
Use DateTime.UtcNow.Ticks for seed.
Many parameter validation + Exception if invalid.
Some tweaks to emulate System.Random as similarly as possible.

  • .NETFramework 4.5.2

    • No dependencies.
  • .NETStandard 1.4

  • .NETStandard 2.0

    • No dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.3.1 64 7/14/2019