sqrt functions


[Syntax]

double sqrt(double x)

float sqrtf(float x)

[Description]

These functions calculate the square root of x.

 

[Special case]

Condition

Return value

Exception

x<0

NaN

EDOM