cbrt : cbrt « math.h « C Tutorial






ItemValue
Header filemath.h
Declarationfloat cbrtf(float num);
double cbrt(double num);
long double cbrtl(long double num);
Returnreturns the cube root of num.


#include <math.h>
  #include <stdio.h>

  int main(void)
  {

  printf("%f", cbrt(8));
}
2.000000








19.9.cbrt
19.9.1.cbrt