pub type NotNan<T> = ConstrainedFloat<T, NotNanConstraint<T>>;
Expand description
Floating-point representation that cannot be NaN
.
If an operation emits NaN
, then a panic will occur. Like Total
, this
type implements a total ordering.
pub type NotNan<T> = ConstrainedFloat<T, NotNanConstraint<T>>;
Floating-point representation that cannot be NaN
.
If an operation emits NaN
, then a panic will occur. Like Total
, this
type implements a total ordering.