Trait fadroma::prelude::Isqrt

source ·
pub trait Isqrt {
    // Required method
    fn isqrt(self) -> Self;
}
Expand description

A trait for calculating the integer square root.

Required Methods§

source

fn isqrt(self) -> Self

Implementors§

source§

impl<I> Isqrt for Iwhere I: Div<I, Output = I> + Unsigned + Shr<u32, Output = I> + Add<I, Output = I> + PartialOrd<I> + Copy + From<u8>,