pub trait InfinityProperty {
// Required methods
fn is_infinite_property(&self) -> bool;
fn is_finite_property(&self) -> bool;
}Expand description
A property of floating point numbers that may have infinite or finite values.
Required Methods§
Sourcefn is_infinite_property(&self) -> bool
fn is_infinite_property(&self) -> bool
Returns whether this value is infinite.
Sourcefn is_finite_property(&self) -> bool
fn is_finite_property(&self) -> bool
Returns whether this value is finite.