If cos ^ 2 x = - cosx under the root sign, then the value range of X

If cos ^ 2 x = - cosx under the root sign, then the value range of X

cosx