[][src]Function ontio_std::utils::sqrt32

pub fn sqrt32(n: u32) -> u32

calcuate sqrt of integer n using Newton method, return value vsatisfy v^2 <= n < (v+1)^2.