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