INtime SDK Help
sqrt

Calculates the square root of a number.

#include <math.h>

double sqrt (double x);

Parameters

x
Nonnegative value to calculate root for.

Return Values

The square-root result.
Success.
0 (zero) if x is negative, prints a DOMAIN error message to stderr and sets errno to EDOM.
Failure.

This function does not return standard ANSI domain or range errors.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/math.h math.h clib.lib

See Also

exp, log, matherr, pow