"Fossies" - the Fresh Open Source Software Archive

Member "HTTPing-2.9/test_fftw3.c" (29 Oct 2022, 249 Bytes) of package /linux/www/HTTPing-2.9.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #include <fftw3.h>
    2 
    3 int main(int argc, char *argv[])
    4 {
    5     /* note: it only needs to compile */
    6     void *dummy = fftw_malloc(4096);
    7     double *dummyd = (double *)dummy;
    8 
    9     void *plan = fftw_plan_dft_r2c_1d(12345, dummyd, NULL, FFTW_ESTIMATE);
   10 
   11     return 0;
   12 }