fn float_ord(f: f64, g: f64) -> Ordering {
    match f.partial_cmp(&g) {
        Some(o) => o,
        None    => Ordering::Less
    }
}
/// A "reasonable" total ordering for floats.
A "reasonable" total ordering for floats.
A " reasonable " total ordering for floats .
fn float_ord(f: f64, g: f64) -> Ordering {
    match f.partial_cmp(&g) {
        Some(o) => o,
        None    => Ordering::Less
    }
}
fn float_ord ( f : f64 , g : f64 ) -> Ordering { match f . partial_cmp ( & g ) { Some ( o ) => o , None => Ordering :: Less } }
A "reasonable" total ordering for floats.
A " reasonable " total ordering for floats .
f
f64
g
f64
f
f64
g
f64