The complexroots command attempts to find all complex roots of a complex polynomial A(X) numerically.
f = x^2+x+1; complexroots(f,x); [(-0.5+0.866025403784439*I), (-0.5-0.866025403784439*I)]