XorShiftAddSharp 0.2.1
See the version list below for details.
dotnet add package XorShiftAddSharp --version 0.2.1
NuGet\Install-Package XorShiftAddSharp -Version 0.2.1
<PackageReference Include="XorShiftAddSharp" Version="0.2.1" />
paket add XorShiftAddSharp --version 0.2.1
#r "nuget: XorShiftAddSharp, 0.2.1"
// Install XorShiftAddSharp as a Cake Addin #addin nuget:?package=XorShiftAddSharp&version=0.2.1 // Install XorShiftAddSharp as a Cake Tool #tool nuget:?package=XorShiftAddSharp&version=0.2.1
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 store from Span
to InternalState
struct.
Unfortunately this is a devastating changes from ver 0.1 .
ver 0.2.1
Fix: XorShiftAddCore and XorShiftAdd class Jump method's baseStep parameter can now be prefixed with "0x" or "0X". (Previous Jump method could be accept prefix, but CalculateJumpPolynomial couldn't be accept prefix.)
Product | Versions 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.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.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.