Item | Value |
Header file | math.h |
Declaration | float cbrtf(float num); double cbrt(double num); long double cbrtl(long double num); |
Return | returns 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 |