Function cgl_rs::utils::rand31

source ·
pub fn rand31() -> u32
Expand description

Generates a random number using the rand31 algorithm.

Returns

A u32 representing the generated random number.

Example

let random_number = cgl_rs::utils::rand31();