cbrt

cbrt(x)

cbrt(x, allRoots)

Compute the cubic root value. If x = y * y * y, then y is the cubic root of x. When `x` is a number or complex number, an optional second argument `allRoots` can be provided to return all three cubic roots. If not provided, the principal root is returned

Try it yourself:

All functions