def _get_numbers(directive):
    """
    Retrieve consecutive floating point numbers from a directive.

    Arguments:
        directive: A 2-tuple (int, str).

    Returns:
        A tuple of floating point numbers and the remainder of the string.
    """
    num, line = directive
    numbers = []
    items = line.split()[1:]
    for j in items:
        try:
            numbers.append(float(j))
        except ValueError:
            break
    newitems = line.split(maxsplit=len(numbers)+1)[1:]
    if len(newitems) > len(numbers):
        remain = newitems[-1]
    else:
        remain = ""
    return tuple(numbers), remain