replaced twiddles arrays definition by lazy definition (via macros and #ifndef)

This commit is contained in:
2025-10-09 14:41:57 +03:00
parent 1256c9b807
commit 86f488e456
3 changed files with 18 additions and 0 deletions

View File

@ -19,6 +19,11 @@
#define PI 3.141592653589793238462643383279502884197169399375105820974944
#endif
#ifdef FFT_FP_EXTERNAL_TWIDDLES
extern int64_t twiddle_re[TWIDDLE_L];
extern int64_t twiddle_im[TWIDDLE_L];
#endif
void fft_twiddle_gen(int64_t* twiddle_re, int64_t* twiddle_im);
void fft_fp_prepare(void);
void FFT_fp(int64_t* inp, uint32_t inp_L, int64_t* buf);