pub extern "C" fn clamp_f64(value: f64, min: f64, max: f64) -> f64
将值限制在指定范围内
value
min
max
返回限制在[min, max]范围内的值