Function float_extras::f64::nextafter [] [src]

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

nextafter returns the next representable floating-point value following x in the direction of y. If y is less than x, these functions will return the largest representable number less than x.