kfrlib / kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
https://www.kfrlib.com
GNU General Public License v2.0
1.67k stars 256 forks source link

FFT, internal precision #6

Closed abique closed 7 years ago

abique commented 7 years ago

Hi,

I wonder if it is possible to feed the FFT with a float input and output but use double internally for all the computation?

Or is it just faster/easier to use convert the buffers to doubles first then call the fft?

Thank you very much!

Alex

dancazarin commented 7 years ago

Hi,

It is perfectly possible to make a wrapper class that will convert the data and perform the computations in double precision.