method

cbrt

ruby latest stable - Class: CMath
cbrt(z)
public

Returns the principal value of the cube root of z

CMath.cbrt(1 + 4i) #=> (1.449461632813119+0.6858152562177092i)