pub trait FloatData<T>: Mul<Output = T> + Display + Add<Output = T> + Div<Output = T> + Neg<Output = T> + Copy + Debug + PartialEq + PartialOrd + AddAssign + Sub<Output = T> + SubAssign + Sum + Send + Sync {
    const ZERO: T;
    const ONE: T;
    const MIN: T;
    const MAX: T;
    const NAN: T;

    fn from_usize(v: usize) -> T;
    fn from_u16(v: u16) -> T;
    fn is_nan(self) -> bool;
    fn ln(self) -> T;
    fn exp(self) -> T;
}
Expand description

Data trait used throughout the package to control for floating point numbers.

Required Associated Constants

Required Methods

Implementations on Foreign Types

Implementors