Function cgl_rs::utils::srand31

source ·
pub fn srand31(seed: u32)
Expand description

Sets the seed for the rand31 random number generator.

Arguments

  • seed - A u32 representing the seed value to set.

Example

cgl_rs::utils::srand31(42);