def check_c_int(context, builder, n):
    """
    Check whether *n* fits in a C `int`.
    """
    _maxint = 1 - 2**31

    def impl(n):
        if n > _maxint:
            raise OverflowError("array size too large to fit in C int")

    context.compile_internal(builder, impl,
                             signature(types.none, types.intp), (n,))
dataset/ETHPy150Open numba/numba/numba/targets/linalg.py/check_c_int/swapped operands of `-`