XoshiroPRNG.Net 1.6.0

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

Install-Package XoshiroPRNG.Net -Version 1.6.0
dotnet add package XoshiroPRNG.Net --version 1.6.0
<PackageReference Include="XoshiroPRNG.Net" Version="1.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XoshiroPRNG.Net --version 1.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: XoshiroPRNG.Net, 1.6.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install XoshiroPRNG.Net as a Cake Addin
#addin nuget:?package=XoshiroPRNG.Net&version=1.6.0

// Install XoshiroPRNG.Net as a Cake Tool
#tool nuget:?package=XoshiroPRNG.Net&version=1.6.0
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 detailed proof, created using performance testing scripts provided here.

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

(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 detailed proof, created using performance testing scripts provided here.

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

(Unit Tests are also available in the repo.)

Release Notes

Provide GetRandomCompatible() interface

  • .NETCoreApp 2.1

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.5.2

    • No dependencies.
  • .NETStandard 1.4

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on XoshiroPRNG.Net:

Package Downloads
Faactory.Types
Runtime types

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on XoshiroPRNG.Net:

Repository Stars
chummer5a/chummer5a
Character generator for Shadowrun 5th edition

Version History

Version Downloads Last updated
1.6.0 268 5/20/2021
1.5.0 99 5/7/2021
1.4.0 848 12/14/2019
1.3.1 291 7/14/2019