Type Definition decorum::Finite

source ·
pub type Finite<T> = ConstrainedFloat<T, FiniteConstraint<T>>;
Expand description

An ordered and canonicalized floating-point value that must represent a real number.

NaN, INF, etc. are not allowed and a panic will occur if any operation results in such a value. This is sometimes referred to simply as a “real” as seen in the R32 and R64 aliases.