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