Function float_extras::f64::modf [] [src]

pub fn modf(x: f64) -> (f64, f64)

modf breaks the argument x into an integral part and a fractional part, each of which has the same sign as x.