sqrt

Calculates the square root.

double sqrt (double a);

Required Header
<math.h>

Return Value

This function returns the square root of a floating point number.

Parameters

a

  The number to calculate the square root of

Remarks

The sqrt function calculates the square root of a to 15 significant digits.

Mathematics

See Also    exp, log, pow