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.
pub trait Infinite: Encoding {
const INFINITY: Self;
const NEG_INFINITY: Self;
fn is_infinite(self) -> bool;
fn is_finite(self) -> bool;
}
Floating-point representations that expose infinities.