Crowbar::PRNG
High-performance, deterministic 64-bit pseudo-random number generator. Uses Xoshiro256++ seeded via SplitMix64 for uniform statistical properties, long period (2^256 - 1), and complete reproducibility across platforms.
Constructors
Class methods
default_seed
SourceInstance methods
Random integer within inclusive range (e.g. 1..10) or exclusive range (e.g. 0...5)
Log-scale random distribution (useful for repeats, burst lengths, and byte counts) Generates values from 1 up to 2^max_power with logarithmic bias towards smaller values
seed
Source