pub trait IsFinite {
// Required method
fn is_finite_(&self) -> bool;
}
Expand description
This trait provides the interface for the function used to check if a number is finite (i.e. neither infinite or NaN).
Required Methods§
Sourcefn is_finite_(&self) -> bool
fn is_finite_(&self) -> bool
Returns true
if self
is neither infinite nor NaN.
Implementations on Foreign Types§
Source§impl IsFinite for f64
impl IsFinite for f64
Source§fn is_finite_(&self) -> bool
fn is_finite_(&self) -> bool
Returns true
if self
is neither infinite nor NaN.
Source§impl IsFinite for Complex<f64>
impl IsFinite for Complex<f64>
Source§fn is_finite_(&self) -> bool
fn is_finite_(&self) -> bool
Returns true
if self
is neither infinite nor NaN.