Trait fixed_math::traits::Sqrt

source ·
pub trait Sqrt {
    fn sqrt(self) -> Self;
}
Expand description

Take square root of a number.

It is not implemented for fixed number types with 0 integer bits. Implementation exists for f32 and f64 too.

Required Methods§

Calculate the square root of self.

Implementations on Foreign Types§

Implementors§