Why does Wolfram Alpha say the roots of a cubic involve square roots of negative numbers, when all three roots are real?

Can someone please explain Wolfram Alpha's response to the equation $x^3-3x-1=0$? The roots are real and graphic Wolfram itself shows them (they are approximately equal to $-1.5321, -0.3473$ and $1.8794$). However the roots explicitly given by Wolfram seem not to be real.

enter image description here


Solution 1:

This is an example of the casus irreducibilis: the formulas for solving cubics need complex numbers when the cubic has three real roots.

Solution 2:

When the discriminant of the equation is negative, there are $3$ real roots. It's precisely in this case that Cardano's formulæ do not work, because the radicands are negative.

It is even historically the reason why square roots of negative numbers were introduced: the formulae become valid in all cases.