Float

Trait Float 

Source
pub trait Float:
    Scalar
    + Hom<f16>
    + Hom<f32>
    + CoHom<f16>
    + CoHom<f32> {
    const DEF: &'static str;
}

Required Associated Constants§

Source

const DEF: &'static str

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 Float for f32

Source§

const DEF: &'static str = "FP32"

Source§

impl Float for f16

Source§

const DEF: &'static str = "FP16"

Implementors§