Trait malachite_base::num::arithmetic::traits::Sqrt

source ·
pub trait Sqrt {
    type Output;

    // Required method
    fn sqrt(self) -> Self::Output;
}
Expand description

Takes the square root of a number.

Required Associated Types§

Required Methods§

source

fn sqrt(self) -> Self::Output

Implementations on Foreign Types§

source§

impl Sqrt for f32

source§

impl Sqrt for f64

Implementors§