consistent return type of real_roots