13 int main(
int argc,
char **argv)
28 for(n=0; n<(FFT_SIZE>>1); n++){
29 typed = (double)(
twoPI*n/FFT_SIZE);
31 data.
img_twid[n] = (-1.0)*sin(typed);
35 fd = open(
"input.data", O_WRONLY|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
36 assert( fd>0 &&
"Couldn't open input data file" );
static uint64_t prng_rand(struct prng_rand_t *state)
void data_to_input(int fd, void *vdata)
double real_twid[FFT_SIZE/2]
double img_twid[FFT_SIZE/2]
int main(int argc, char **argv)
static void prng_srand(uint64_t seed, struct prng_rand_t *state)