Skip to main content

f64_to_u64

Function f64_to_u64 

Source
pub fn f64_to_u64(v: f64) -> Result<u64, RError>
Expand description

f64 → u64 — truncation toward zero, then check non-negative.