Crate ordered_float

Source
Expand description

Wrappers for total order on Floats. See the OrderedFloat and NotNan docs for details.

Structs§

FloatIsNan
An error indicating an attempt to construct NotNan from a NaN
NotNan
A wrapper around floats providing an implementation of Eq, Ord and Hash.
OrderedFloat
A wrapper around floats providing implementations of Eq, Ord, and Hash.

Enums§

ParseNotNanError
An error indicating a parse error from a string for NotNan.

Traits§

Float
Generic trait for floating point numbers
FloatCore
Generic trait for floating point numbers that works with no_std.
Pow
Binary operator for raising a value to a power.
PrimitiveFloat
The built-in floating point types f32 and f64.