6 lines
83 B
Text
6 lines
83 B
Text
|
|
||
|
// inefficient cuberoot function
|
||
|
float cbrt(float x) {
|
||
|
return pow(x, 1.0/3.0);
|
||
|
}
|