Function min

Source
pub fn min<T: PartialOrd>(x: T, y: T) -> T
Expand description

Utilities for testing approximate ordering - especially true for floating point types, where NaN’s cannot be ordered.