Square root of 3 billion digits. The fraction (…) for the square root of three can be used as an approximation. Despite having a denominator of only 56, it differs from the correct value by less than (approximately ). The rounded value of 1.732 is correct to within 0.01% of the actual value. Archimedes reported , accurate to (six decimal places) and (four decimal places), respectively. It can be expressed as the continued fraction , expanded on the right. It can also be expressed by generalized continued fractions such as which is evaluated at every second term. The following nested square expressions converge to
Square root of precision is equivalent to that of multiplying two "n"-digit numbers. Another useful method for calculating the square root is the shifting nth root algorithm, applied for . The name of the square root function varies from programming language to programming language, with codice_1 (often pronounced "squirt" ) being common, used in C, C++, and derived languages like JavaScript, PHP, and Python. The square of any positive or negative number is positive, and the square of 0 is 0. Therefore, no negative number can have a real square root. However, it is possible to work with a more inclusive set