Calculates the square root of a number.
#include <math.h> double sqrt (double x);
x
x
is negative, prints a DOMAIN error message to stderr and sets errno to EDOM.
This function does not return standard ANSI domain or range errors.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/math.h | math.h | clib.lib |