Module emath::ordered_float

source ·
Expand description

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

Modules§

Structs§

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

Traits§

  • Extension trait to provide ord() method.