#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "aflibFFT.h"
Defines | |
#define | pi 3.1415926535897932384626434 |
#define | c_re(c) ((c).re) |
#define | c_im(c) ((c).im) |
#define | c_add_mul(c, c1, c2) |
#define | c_conj(c) { c_im (c) = -c_im (c); } |
#define | c_realdiv(c, real) { c_re (c) /= (real); c_im (c) /= (real); } |
#define | W(n, k) (W_factors [((k) * (Nfactors / (n))) % Nfactors]) |
#define c_add_mul | ( | c, | |||
c1, | |||||
c2 | ) |
#define c_conj | ( | c | ) | { c_im (c) = -c_im (c); } |
#define c_im | ( | c | ) | ((c).im) |
#define c_re | ( | c | ) | ((c).re) |
#define c_realdiv | ( | c, | |||
real | ) | { c_re (c) /= (real); c_im (c) /= (real); } |
#define pi 3.1415926535897932384626434 |
#define W | ( | n, | |||
k | ) | (W_factors [((k) * (Nfactors / (n))) % Nfactors]) |