def choose_result_int(*inputs):
    """
    Choose the integer result type for an operation on integer inputs,
    according to the integer typing NBEP. In accordance with the new
    type system.
    """
    bitwidth = choose_result_bitwidth(*inputs)
    signed = any(tp.signed for tp in inputs)

    # If any integer is a NumPy integer, promotion should be to the
    # respective NumPy type.
    if any('np' in tp.name for tp in inputs):
        return types.NumPyInteger.from_bitwidth(bitwidth, signed)

    return types.py_int

    Choose the integer result type for an operation on integer inputs,
    according to the integer typing NBEP. In accordance with the new
    type system.
    
numba/core/typing/new_builtins.py