Module rs::float_ord

source ·
Expand description

Order floating point numbers, into this ordering:

NaN | -Infinity | x < 0 | -0 | +0 | x > 0 | +Infinity | NaN

Macros§

Structs§

  • A wrapper for floats, that implements total equality and ordering and hashing.

Functions§

  • Sort a slice of floats.