def abserr(expected, actual):
    """Computes the absolute error between `expected` and `actual`.

    :param float expected: The expected value.
    :param float actual: The actual value.

    :return: ``abs(actual-expected)``
    :rtype: float
    """
    return abs(actual - expected)