Trait decorum::Infinite [−][src]
pub trait Infinite: Copy + NumCast { fn infinity() -> Self; fn neg_infinity() -> Self; fn is_infinite(self) -> bool; fn is_finite(self) -> bool; }
A floating-point value that can be infinite (-INF
or INF
).