Add methods for byte swapping floats and doubles.