Trait GeneralFloat

Source
pub trait GeneralFloat: Num + PartialOrd {
    type Exponent: Integer;

    // Required methods
    fn radix() -> Self;
    fn bit_size() -> Self::Exponent;
    fn epsilon() -> Self;
    fn radix_powi(p: Self::Exponent) -> Self;
}

Required Associated Types§

Required Methods§

Source

fn radix() -> Self

Source

fn bit_size() -> Self::Exponent

Source

fn epsilon() -> Self

Source

fn radix_powi(p: Self::Exponent) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§