logo

Type Definition decorum::NotNan

source · []
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.

Trait Implementations

Formats the value using the given formatter. Read more

Converts to this type from the input type.