if py_y > 0:
return x
elif py_y == 0.0:
if not isinstance(y, Number):
y = Real(py_y)
evaluation.message("Power", "indet", Expression("Power", x, y_err))
return Symbol("Indeterminate")
elif py_y < 0:
if not isinstance(y, Number):
After Change
else:
y_err = Expression("N", y).evaluate(evaluation)
if isinstance(y_err, Number):
py_y = y_err.round().get_float_value(permit_complex=True).real
if py_y > 0:
return x
elif py_y == 0.0: