'Exception: Decimal(\'1\').__round__(-100000000000000000000000000)
Should it really be InvalidOperation?'

def __round__(self, t):

    if ((t.rc is None) and t.rp.is_nan()):
        return True
    return False
