Skip to content

CubeRoot

Returns the real-valued cube root.

$ wo 'CubeRoot[8]'
2

It threads over a list.

$ wo 'CubeRoot[{8, 27}]'
{2, 3}

CubeRoot[x] is just a spelling of Surd[x, 3], so the two agree exactly, including on a machine-precision argument:

$ wo 'CubeRoot[7.] == Surd[7., 3] == 7.^(1/3)'
True
$ wo 'CubeRoot[7.]'
1.912931182772389

A non-real argument is reported under the head it was written with:

$ wo 'CubeRoot[I]'

CubeRoot::preal: The parameter I should be real valued.
CubeRoot[I]