1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#pragma once #define CONFIG_DOUBLE #ifdef CONFIG_DOUBLE # define kiss_fft_scalar double typedef double TFloat; #else # define kiss_fft_scalar float typedef float TFloat; #endif #ifndef M_PI #define M_PI (3.14159265358979323846) #endif