Trait IEEE754Float

Source
pub trait IEEE754Float:
    Abs<Output = Self>
    + Sqrt<Output = Self>
    + Neg<Output = Self>
    + BinaryFloat
    + BoundedFloat
    + Infinite
    + Underflow {
    // Required method
    fn nan() -> Self;
}

Required Methods§

Source

fn nan() -> 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.

Implementations on Foreign Types§

Source§

impl IEEE754Float for f32

Source§

fn nan() -> Self

Source§

impl IEEE754Float for f64

Source§

fn nan() -> Self

Implementors§