def _exp1(p, x, prec):
    """Helper function for `rs\_exp`. """
    R = p.ring
    p1 = R(1)
    for precx in _giant_steps(prec):
        pt = rs_log(p1, x, precx) - p
        tmp = rs_mul(pt, p1, x, precx)
        p1 += tmp
    return p1
dataset/ETHPy150Open sympy/sympy/sympy/polys/ring_series.py/_exp1/swapped operands of `-`