def approx_equal(a: Real, b: Real, eps: Real):
    """Return whether the difference between `a` and `b` is less than `eps`.

    Parameters
    ----------
    a
    b
    eps

    Returns
    -------
    bool

    """
    assert abs(a - b) < eps