Skip to content

Prng32

Description

Lower 32 / 16 / 8 bits of the next sample. Faster at the call site than masking Prng64 by hand; the underlying state is the same so they consume the same PRNG sequence.

Usage example (Cross-references)

Usage examples (Cross-references)
        return prng_internal();
    }
    u32 Prng32(void) {
        return (u32)prng_internal();
    }
Last updated on