sqrt

Returns the square root of its argument.

Format

#include  <math.h>

double sqrt  (double x);

Argument

x
A real number.

Description

The argument and the returned value are both objects of type double.

Return Values
val  The square root of x, if x is nonnegative. 
Indicates that x is negative; errno is set to EDOM. 


Previous Page | Next Page | Table of Contents | Index