|
||
double sqrt( double x
double x; /* a double value */
|
|
|
Synopsis |
#include "math.h"
The sqrt function calculates the square root of x .
|
|
Parameters |
x is any non-negative double value.
|
|
Return Value |
sqrt returns the square root of x , unless x is negative, in which case, sqrt sets errno (the system error variable) to EDOM , and then returns 0.0. |
|
|
|