pcg32_random_r: - result: 32-bit unsigned int (uint32_t) - period: 2^64 (* 2^63 streams) - state type: pcg32_random_t (16 bytes) - output func: XSH-RR
6364136223846793005_u64 Reseed the generator.
Generates a random unsigned integer.
The internal implementation for #split where self is the original instance and other the duplicated instance to be returned.
Random
Random
Random
Reference
Reference
Reference
Object
Object
Object
Generates a random unsigned integer.
The integers must be uniformly distributed between 0 and the maximal value for the chosen type.
The internal implementation for #split where self is the original instance and other the duplicated instance to be returned.
The default Random implementation in stdlib is splittable, but not every PRNG algorithm is splittable, so the method raises a NotImplementedError exception by default.
© 2012–2026 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.19.0/Random/PCG32.html