def subtract(value1, value2):
    """Return the note value for value1 minus value2.

    There are no exceptions for producing negative values, which can be
    useful for taking differences.

    Example:
    >>> subtract(quarter, eighth)
    8.0
    """
    return 1 / (1.0 / value1 - 1.0 / value2)
