libm

Function modf

Source
pub fn modf(x: f64) -> (f64, f64)
Expand description

Returns the fractional and integral parts of an f64. The return ordering (fractional_part, integral_part) is based on the libm crate from crates.io.