Operations on slices of floats