1, sqrt is "square root calculation", and the function prototype of math.h header file in VC6.0 is double sqrt(double).
2. The function prototype of math.h header file of sqrt in 2.VC6.0 is double sqrt(double). Its function is to calculate the square root of a non-negative real number.
3. The main application of 3.sqrt is to test the floating-point capability of CPU.
Results of various values of parameter a:?
1. If the parameter is NaN or less than zero, the result is NaN. ?
2. If the parameter is positive infinity, the result is positive infinity. ?
3. If the parameter is positive zero or negative zero, the result is the same as the parameter. ?
Otherwise, the result is a double-precision value closest to the true mathematical square root of the parameter value.