

@staticmethod
def _number(expr, assumptions):
    r = expr.as_real_imag()[0].evalf(2)
    if (r._prec != 1):
        return (not r)

dataset/ETHPy150Open sympy/sympy/sympy/assumptions/handlers/sets.py AskImaginaryHandler._number/original