Trait cosmwasm_std::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

Object Safety§

This trait is not object safe.

Implementors§

source§

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