Skip to content

Releases: Kermalis/KRand

v1.1.1 - .NET 8

08 Jun 23:30
Compare
Choose a tag to compare

Changes since v1.1.0

  • Overloads for arrays with KRand.RandomElement() and KRand.Shuffle()
  • RandomElement() and Shuffle() now use less random bytes when possible (most of the time)
  • These methods also now return a ref or ref readonly if possible

v1.1 - .NET 8

09 Feb 02:38
Compare
Choose a tag to compare

Changes since v1.0

  • Upgraded to .net 8.0. The library is slightly faster simply because of that
  • NextSingle() was taking 32 extra bits. This is no longer the case
  • New NextBoolean() overload for higher value odds (up to ulong.MaxValue)
  • Extracted the state to its own struct. This lets you compare or save states, and allows you to reuse KRand objects
  • The exception that's thrown when an invalid seed is picked will now properly show the invalid seed

v1.0 - .NET 7

03 Feb 09:08
Compare
Choose a tag to compare
Initial commit