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§
fn radix() -> Self
fn bit_size() -> Self::Exponent
fn epsilon() -> Self
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.