Computes the cube root of x.
x
double cbrt(double x) { if (x < 0) { return -dart_math.pow(-x, 1.0 / 3.0).toDouble(); } return dart_math.pow(x, 1.0 / 3.0).toDouble(); }