Rosetta Code

Isqrt (integer square root) of X

Compute integer square roots with a binary search over fixed sample inputs.

Edit the source, then Run. Checks start after your first Run. Ctrl/⌘ + Enter runs; Tab indents. Preview services use sample data and never contact a real service.

rosettacode/popular/isqrt_integer_square_root_of_x.vibe
Output
Click Run example to see the result.

Code checks

Run once to load the checker. Your code stays in this browser.