Function float_extras::f64::fmod [] [src]

pub fn fmod(x: f64, y: f64) -> f64

fmod computes the floating-point remainder of dividing x by y. The return value is x - n * y, where n is the quotient of x / y, rounded toward zero to an integer.