from typing import Union
from typing import Tuple


def absolute_and_sign(val: Union[float, int]) -> Tuple[Union[float, int], int]:
    """
    Returns a pair consisting of the absolute value of val and its sign.
    """
    if val > 0:
        return val, 1
    else:
        return -val, -1