Unifying scaling of fixed-point and float FFT