Skip to content

0.4.2 "ATA: All The Acronyms"

Compare
Choose a tag to compare
@tommyettinger tommyettinger released this 08 Nov 03:41

A main new feature here is the inclusion of three generators someone else initially wrote: Sfc64Random, Jsf32Random, and Crand64Random. SFC is by Chris Doty-Humphrey and was released as part of his PractRand test suite. JSF32 is an older generator that still passes tests today; it was written by Bob Jenkins. Crand64 is by Tyge Løvset and was released as part of STC. Also new is Respite32Random; it's still a work in progress at this point, but it's a good option if correlations between initial states aren't a concern. Respite32Random's correlation issues aren't quite as severe as those in Xoshiro128PlusPlusRandom, but Xoshiro128PlusPlusRandom has a longer period. Oh yeah, and there's also PouchRandom, which I wrote; it's similar to SFC64 but has half the minimum guaranteed period (down to 2 to the 63, or 9 quintillion, or "almost certainly enough for a game") and has some minor seed constraints. Why would you want PouchRandom? It's the fastest generator here that passes PractRand and ReMort testing, faster even than WhiskerRandom; it also doesn't have correlations between similar initial states for very long.

This release also updates digital to the latest release, 0.4.3, which is important because the previous release, 0.4.2 (and maybe some other releases before it), wouldn't compile on GWT if a GWT app depended on digital.

Enjoy your random numbers!