double sqrt (double x);
double sqrt (double x); float sqrtf (float x); long double sqrtl (long double x);
double sqrt (double x); float sqrt (float x); long double sqrt (long double x);
double sqrt (double x); float sqrt (float x); long double sqrt (long double x); double sqrt (T x); // additional overloads for integral types
<cmath>
) for the integral types: These overloads effectively cast x to a double
before calculations (defined for T being any integral type).<complex>
and <valarray>
(see complex sqrt and valarray sqrt).
|
|
sqrt(1024.000000) = 32.000000 |