Since `float(f0 * f1)` is a constant, this division can be factored out of the loop and applied to the array afterward for speed.