Module ordered_float

Source
Expand description

Total order on floating point types. Can be used for sorting, min/max computation, and other collection algorithms.

Modules§

private 🔒

Structs§

OrderedFloat
Wraps a floating-point value to add total order and hash. Possible types for T are f32 and f64.

Traits§

Float
Extension trait to provide ord() method.