XorShiftAddSharp 0.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package XorShiftAddSharp --version 0.2.0                
NuGet\Install-Package XorShiftAddSharp -Version 0.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XorShiftAddSharp" Version="0.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XorShiftAddSharp --version 0.2.0                
#r "nuget: XorShiftAddSharp, 0.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install XorShiftAddSharp as a Cake Addin
#addin nuget:?package=XorShiftAddSharp&version=0.2.0

// Install XorShiftAddSharp as a Cake Tool
#tool nuget:?package=XorShiftAddSharp&version=0.2.0                

XorShiftAddSharp

This is a pure C# implementation of a XORSHIFT-ADD (XSadd) pseudo-random number generator.

Concept

  • Small internal state size (128bit)
  • Long period(2^128-1)
  • Save and restore internal state anytime.
  • Can Retrieve the arbitrary n-step jumped state.

Overview

  • There is the implementation of almost same semantics of "xsadd.c" and "xsadd.h". (XorShiftAddCore)
  • There is the implementation of Inherited by System.Random. (XorShiftAdd)
  • Xml documentations are available (but currently partially)
  • Compared tests from original library are passed.

Change Log

ver0.1

Initial release.

ver 0.2

Changed XorShiftAdd psesudo-random generator's internal state from Span to InternalState struct. Unfortunately this is a devastating changes from ver 0.1 .

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 265 3/30/2021
1.0.0 276 8/12/2020
0.3.0 324 8/1/2020
0.2.1 540 7/26/2020
0.2.0 468 7/26/2020
0.1.0 668 7/22/2020

There is a devastating changes from ver0.1