[][src]Function ontio_std::utils::sqrt128

pub fn sqrt128(n: u128) -> u128

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