stdx

Module rand

source
Expand description

We don’t use rand, as that’s too many things for us.

We currently use oorandom instead, but it’s missing these two utilities. Perhaps we should switch to fastrand, or our own small PRNG, it’s not like we need anything more complicated than xor-shift.

Functions§