isqrt22
isqrt22 is a lightweight command‑line utility designed to compute the integer square root of non‑negative integers efficiently. It implements the binary search algorithm combined with a localized Newton‑Raphson refinement to achieve logarithmic time complexity with fixed‑point arithmetic. The program accepts input via standard input or as command‑line arguments and outputs the floor of the square root.
The project was first released in 2022 as an open‑source contribution under the MIT license, and it
isqrt22 emphasizes portability; it is written in portable C99 and contains only standard library dependencies, making
Unlike the built‑in math.isqrt function in Python's math library, isqrt22 is intended for use in environments