XorShiftAddSharp 1.0.0
See the version list below for details.
dotnet add package XorShiftAddSharp --version 1.0.0
NuGet\Install-Package XorShiftAddSharp -Version 1.0.0
<PackageReference Include="XorShiftAddSharp" Version="1.0.0" />
paket add XorShiftAddSharp --version 1.0.0
#r "nuget: XorShiftAddSharp, 1.0.0"
// Install XorShiftAddSharp as a Cake Addin #addin nuget:?package=XorShiftAddSharp&version=1.0.0 // Install XorShiftAddSharp as a Cake Tool #tool nuget:?package=XorShiftAddSharp&version=1.0.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<uint>
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.)
ver 0.3.0.0
Add XorShiftAddPool XorShiftAddPoolObjectPolicy
These are provides the object pool. That are outputs are 2^64 range splitted instance.
Ver1.0.0.0
Add xml comment to XorShiftAddCore.cs
Fixed incorrect test fixture.
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
- Microsoft.Extensions.ObjectPool (>= 5.0.0-preview.7.20365.19)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.