DSQRT Function

The square root of a double-precision argument is computed by the following two steps:

  • The single-precision square root of the most significant half of the argument is computed by means of the algorithm for finding the single-precision square root.

  • One additional Newton-Raphson iteration, using the original double-precision argument, double-precision arithmetic, and the single-precision square root is computed. The exponent is shifted if necessary.