Structs§
Traits§
- Build
Hasher Total Ext - ToTotal
Ord - This elides creating a
TotalOrdWrap
for types that don’t need it. - TotalEq
- Alternative trait for Eq. By consistently using this we can still be generic w.r.t Eq while getting a total ordering for floats.
- Total
Hash - Alternative trait for Hash. By consistently using this we can still be generic w.r.t Hash while being able to hash floats.
- Total
Ord - Alternative trait for Ord. By consistently using this we can still be generic w.r.t Ord while getting a total ordering for floats.
Functions§
- canonical_
f32 - Converts an f32 into a canonical form, where -0 == 0 and all NaNs map to the same value.
- canonical_
f64 - Converts an f64 into a canonical form, where -0 == 0 and all NaNs map to the same value.