sqrt functions


[Syntax]

double sqrt(double x)

float sqrtf(float x)

long double sqrtl(long double x) [V2.01.00 or later]

[Description]

These functions calculate the square root of x.

 

[Special case]

Condition

Return value

Exception

x<0

NaN

EDOM