A slightly faster (performance wise) way to do it would be to break float 2, make float 2 and swap the x and y.