pub trait Float: NdFloat + FloatConst + Signed + Float + ValueFrom<usize> + ApproxInto<usize, RoundToZero> + ApproxFrom<u64> {
    fn half() -> Self;
    fn ten() -> Self;
}
Expand description

Float number trait, it is implemented for f32 and f64 only

Required Methods§

Implementations on Foreign Types§

Implementors§