partial-min-max
Provides min and max functions that work with PartialOrd.
use ;
use NAN;
// Does what you expect for the easy cases...
assert_eq!;
assert_eq!;
// In the case of comparisons with NaN or other partial orderings, returns the
// second value.
assert!;
assert_eq!;