Aspects


vs


Home Page
About Us
Feedback

Floor

A function common to many programming languages that returns the next lowest integer value by rounding the value down if necessary.

Sqrt

The `sqrt` function returns the positive square root of a number in several programming languages.



Others

Example

The other suggestion keep repeating until x stops changing does not work either because for non-perfect squares x will alternate between the floor and the ceiling of the root â because of integer mathematics the term n x will alternate when x is slightly smaller or slightly larger than sqrt n

from question  

Finding square root of an integer on MIPS assembly

Back to Home
Data comes from Stack Exchange with CC-BY-SA-4.0