Function sim::utils::usize_sqrt

source ·
pub fn usize_sqrt(n: usize) -> usize
Expand description

Integer square root calculation, using the Babylonian square-root algorithm.