(b, e)
exp(arg)**e -> exp(arg*e) if assumptions allow it.
exp(arg)**e -> exp(arg*e) if assumptions allow it.
exp ( arg ) ** e - > exp ( arg * e ) if assumptions allow it .
def _eval_power(b, e):
        """exp(arg)**e -> exp(arg*e) if assumptions allow it.
        """
        f = b.func
        be = b.exp
        rv = f(be*e)
        if e.is_integer:
            return rv
        if be.is_real:
            return rv
        # "is True" needed below; exp.is_polar returns <property object ...>
        if f.is_polar is True:
            return rv
        if e.is_polar:
            return rv
        if be.is_polar:
            return rv
        besmall = abs(be) <= S.Pi
        if besmall == True:
            return rv
        elif besmall == False and e.is_Rational and e.q == 2:
            return -rv
def _eval_power ( b , e ) : f = b . func be = b . exp rv = f ( be * e ) if e . is_integer : return rv if be . is_real : return rv # "is True" needed below; exp.is_polar returns <property object ...> if f . is_polar is True : return rv if e . is_polar : return rv if be . is_polar : return rv besmall = abs ( be ) <= S . Pi if besmall == True : return rv elif besmall == False and e . is_Rational and e . q == 2 : return - rv