nautilus_core::correctness

Function check_non_negative_f64

Source
pub fn check_non_negative_f64(value: f64, param: &str) -> Result<()>
Expand description

Checks the f64 value is non-negative (< 0).