def q(a: float, e: float) -> float:
    """
    q = a * (1 - e)

    :param a: semi-major axis
    :type a: float
    :param e: eccentricity
    :type e: float
    :return: pericentric distance
    :rtype: float
    """
    return a * (1 - e)