def float_range(start, end, step=1.0, exceed=False):
    """Returns a range list of float"""
    l = []
    i = start
    if exceed:
        more = step
    else:
        more = 0.0
    while i < end + more:
        l.append(i)
        i += step
    return l
