def kahan_sum(list_of_floating_point_numbers):
    """
    Computes the sum of a list of floating point numbers, correcting for precision loss.

    Parameters:
    ----------
    list_of_floating_point_numbers: ndarray

    Returns:
    -------
    Sum of the elements.
    """
    suma = 0.0
    c = 0.0
    for i in range(0, len(list_of_floating_point_numbers)):
        y = list_of_floating_point_numbers[i] - c
        t = suma + y
        c = (t - suma) - y
        suma = t
    return suma