[][src]Function randomize::formulas::lcg32

pub const fn lcg32(state: u32, mult: u32, inc: u32) -> u32

The u32 LCG.

Insufficiently random. Use only in 32-bit environments when you can't be bothered to do a 64-bit software multiply. At least discard the low 16-bits of output if you can, and if possible run a full u32 -> u16 permutation.