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

§

type Output = f32

source§

fn sqrt(self) -> f32

source§

impl Sqrt for f64

§

type Output = f64

source§

fn sqrt(self) -> f64

Implementors§