cbrt static method

double cbrt(
  1. double x
)

Implementation

static double cbrt(double x) {
  final double y = math.pow(x.abs(), 1 / 3) as double;
  return x < 0 ? -y : y;
}