Square root of integer numbers



examples/numbers/sqrt-of-integer/Cargo.toml
[package]
name = "sqrt-of-integer"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
integer-sqrt = "0.1.5"

examples/numbers/sqrt-of-integer/src/main.rs
use integer_sqrt::IntegerSquareRoot;

fn main() {
    let x = 16;

    println!("{}", x.integer_sqrt());
}