def METHOD_NAME(targetid, spgrp, spgrpval, tileid):
    """Convert inputs into an arbitrary large integer.
    Parameters
    ----------
    targetid : :class:`int`
        Standard ``TARGETID``.
    spgrp : :class:`str`
        Tile grouping.
    spgrpval : :class:`str`
        Id with in `spgrp`.
    tileid : :class:`int`
        Standard ``TILEID``.
    Returns
    -------
    :class:`int`
        An arbitrary integer, which will be greater than :math:`2^64` but
        less than :math:`2^128`.
    """
    spgrpid = (_spgrpid[spgrp] << 27) | spgrpval  # effective 32-bit integer
    return (spgrpid << 96) | (tileid << 64) | targetid