logo
pub trait Infinite: Encoding {
    const INFINITY: Self;
    const NEG_INFINITY: Self;

    fn is_infinite(self) -> bool;
    fn is_finite(self) -> bool;
}
Expand description

Floating-point representations that expose infinities.

Required Associated Constants

Required Methods

Implementations on Foreign Types

Implementors