def deg2dm(deg: float) -> tuple[float, float]:
    """
    Converts a simple degree value
    into a proper :samp:`(degree,minute)` pair with appropriate
    signs.

    :param deg: Degrees to convert
    :return: tuple of :samp:`({deg}, {min})` with proper signs.
    """
    sign = -1 if deg < 0 else +1
    ad = abs(deg)
    d = sign * int(ad)
    m = int(60 * (ad - int(ad)) + 0.5) * (sign if d == 0 else 1)
    return d, m