Implements Python's range function over float point numbers.