Top "Square-root" questions

A square root of a number A is a number y such that y^2 = A, or, in other words, a number y whose square (the result of multiplying the number by itself, or y × y) is A.

Calculate Nth root with integer arithmetic

There are a couple of ways to find integer square roots using only integer arithmetic. For example this one. It …

algorithm math integer square-root
How to implement the "fast inverse square root" in Java?

I've heard of the "fast inverse square root", discussed here, and I wanted to put it in my Java program (…

java floating-point square-root
JavaScript - Improving algorithm for finding square roots of perfect squares without Math.sqrt

I'm trying to learn algorithms and coding stuff by scratch. I wrote a function that will find square roots of …

javascript algorithm square-root
Python - Fastest way to find all perfect squares in a given large number range

I am trying to write a method to get all the perfect squares in a given range in Python. A …

python-3.x square-root perfect-square
Best way to calculate the square root of any number in ios , Objective C and Swift

I am asking for ways to calculate the square root of any given number in ios, Objective C. I have …

ios objective-c swift macos square-root
inverse square root in Python

Does any Python library offer a function that implements the "fast inverse square root" algorithm described in following link? http://…

python performance inverse square-root
Why is square root such a slow operation?

I've been warned by numerous programmers not to use the square root function, and instead to raise numbers to the …

c# vb.net math operator-keyword square-root