Under what conditions does a inf value appear in the magnitude result of Superpowered::PolarFFT?
In our application, this happens under certain conditions which are unclear: the time-domain inputs are valid floats (though possibly extremely small, possibly with slight DC offset) and so the FFT forward transform result should also be valid.
However, because an inf value appears, I have to loop over the output array and skip if it's invalid. I'd prefer not to waste the cycles.
Under what conditions does a
infvalue appear in the magnitude result ofSuperpowered::PolarFFT?In our application, this happens under certain conditions which are unclear: the time-domain inputs are valid floats (though possibly extremely small, possibly with slight DC offset) and so the FFT forward transform result should also be valid.
However, because an
infvalue appears, I have to loop over the output array and skip if it's invalid. I'd prefer not to waste the cycles.