pub fn f64_to_u64(v: f64) -> Result<u64, RError>
f64 → u64 — truncation toward zero, then check non-negative.
f64 → u64