MicrOS
sqrt.c File Reference
#include "../math.h"

Functions

double sqrt (double x)
 Compute square root. More...
 

Function Documentation

◆ sqrt()

double sqrt ( double  x)

Compute square root.

The sqrt functions compute the nonnegative square root of x. A domain error occurs if the argument is less than zero.

Parameters
xValue whose square root is computed.
Returns
The sqrt functions return √x.