Function sqrt

Top 

Declaration:

float sqrt(float x);

Description

The sqrt function calculates the square root of number x.

Returned value

The sqrt function returns the square root of x. The returned value for negative arguments is 0.