double cbrt (double x); float cbrtf (float x);long double cbrtl (long double x);
double cbrt (double x); float cbrt (float x);long double cbrt (long double x); double cbrt (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).
|
|
cbrt (27.000000) = 3.000000 |