Expand description
Wrappers for total order on Floats. See the OrderedFloat
and NotNan
docs for details.
Macrosยง
- impl_
as_ ๐primitive - impl_
float_ ๐const - impl_
float_ ๐const_ method - impl_
from_ ๐int_ primitive - impl_
not_ ๐nan_ binop - impl_
not_ ๐nan_ pow - impl_
not_ ๐nan_ self_ pow - impl_
ordered_ ๐float_ binop - impl_
ordered_ ๐float_ from - impl_
ordered_ ๐float_ pow - impl_
ordered_ ๐float_ self_ pow
Structsยง
- Float
IsNan - An error indicating an attempt to construct NotNan from a NaN
- NotNan
- A wrapper around floats providing an implementation of
Eq
,Ord
andHash
. - Ordered
Float - A wrapper around floats providing implementations of
Eq
,Ord
, andHash
.
Enumsยง
- Parse
NotNan Error - An error indicating a parse error from a string for
NotNan
.
Constantsยง
- CANONICAL_
NAN_ ๐BITS - EXP_
MASK ๐ - MAN_
MASK ๐ - SIGN_
MASK ๐
Traitsยง
- Float
Core - Generic trait for floating point numbers that works with
no_std
.
Functionsยง
- canonicalize_
signed_ ๐zero - raw_
double_ ๐bits - Used for hashing. Input must not be zero or NaN.