simpler real solution of ``roots_cubic`` in some case