@classmethod
    def eval(cls, z):
        if z is S.Zero:
            return pi/2
        elif z is S.Half:
            return 8*pi**(S(3)/2)/gamma(-S(1)/4)**2
        elif z is S.One:
            return S.ComplexInfinity
        elif z is S.NegativeOne:
            return (4*sqrt(2*pi))/gamma(S(1)/4)**2
        elif z in (S.Infinity, S.NegativeInfinity, I*S.Infinity,
                   I*S.NegativeInfinity, S.ComplexInfinity):
            return S.Zero
dataset/ETHPy150Open sympy/sympy/sympy/functions/special/elliptic_integrals.py/elliptic_k.eval/swapped operands of `/`