Go to the first, previous, next, last section, table of contents.
#include <math.h> double sqrt(double x);
This function computes the square root of x.
The square root of x. If x is negative or a NaN
, the
return value is NaN
and errno
is set to EDOM
.
ANSI, POSIX
Go to the first, previous, next, last section, table of contents.