euclid::approxord
pub fn min<T: PartialOrd>(x: T, y: T) -> T
Utilities for testing approximate ordering - especially true for floating point types, where NaN's cannot be ordered.