Documentation for sqrt function
The prewritten function illustrated by Listing 1 is named sqrt.
Figure 1 shows the documentation for the sqrt function as obtained from this web site:
double
sqrt ( double x );
Calculate square root. Parameters.
Return Value. Portability. Figure 1 |
According to the documentation, the sqrt function requires a single incoming parameter of type double.
It returns the square root of the incoming value as type double.