Trait maths_rs::num::Float

source ·
pub trait Float: SignedNumber {
    // Required method
    fn small_epsilon() -> Self;
}
Expand description

floating point trait for various levels of fp precision

Required Methods§

source

fn small_epsilon() -> Self

Implementations on Foreign Types§

source§

impl Float for f32

source§

impl Float for f64

Implementors§