Function random_range_f64

Source
pub extern "C" fn random_range_f64(min: f64, max: f64) -> f64
Expand description

生成指定范围内的随机浮点数

§参数

  • min - 最小值(包含)
  • max - 最大值(不包含)

§返回值

返回[min, max)范围内的随机浮点数