(ANSI Standard)
#include <math.h> y = sqrt( x );
"sqrt" returns the square root of "x". If "x" is negative, "sqrt" returns zero and sets "errno" to EDOM.
expl c lib errno
Copyright © 1996, Thinkage Ltd.