Trait numcodecs_log::Float
source · pub trait Float: Copy {
// Required methods
fn ln(self) -> Self;
fn exp(self) -> Self;
fn is_positive(self) -> bool;
fn is_finite(self) -> bool;
}Expand description
Floating point types.
Required Methods§
sourcefn is_positive(self) -> bool
fn is_positive(self) -> bool
Returns true if this number is positive.
Object Safety§
This trait is not object safe.