Skip to main content

i64_to_f64

Function i64_to_f64 

Source
pub fn i64_to_f64(v: i64) -> f64
Expand description

i64 → f64 — always produces a valid f64, but may lose precision for |v| > 2^53. This matches R semantics where as.double() on an integer always succeeds.