Search code examples
fftw

Wither a given FFTW lib was compiled in a single or double precision?


Is there a way for to check - wither FFTW was compiled in a single or double precision?


Solution

  • If the name of the library is suffixed with an f, it is single precision. Otherwise it is double. E.g.,

    libfftw3.a is double-precision

    libfftw3f.a is single-precision