comparison src/init.c @ 113:72a9a393d5bd

- Fixed bugs in xtract_flatness(), or at least added necessary documentation and error checking to avoid problems - Added xtract_is_denormal() helper function and XTRACT_DENORMAL_FOUND return code - Replaced all instances of log, sqrt, exp etc. with respective floating point counterparts (logf etc.) - Added check for architecture endianness to configure script - Bug fix to PD example, now no longer crashes if no arguments are given - Minor documentation updates
author Jamie Bullock <jamie@postlude.co.uk>
date Fri, 15 Feb 2008 12:43:13 +0000
parents c8502708853b
children 859495925633
comparison
equal deleted inserted replaced
112:a76501dc5307 113:72a9a393d5bd
147 float *input, *output; 147 float *input, *output;
148 int optimisation; 148 int optimisation;
149 149
150 input = output = NULL; 150 input = output = NULL;
151 151
152 fprintf(stderr, "Optimisation level: %d\n", XTRACT_FFT_OPTIMISATION_LEVEL); 152 //fprintf(stderr, "Optimisation level: %d\n", XTRACT_FFT_OPTIMISATION_LEVEL);
153 153
154 if(XTRACT_FFT_OPTIMISATION_LEVEL == 0) 154 if(XTRACT_FFT_OPTIMISATION_LEVEL == 0)
155 optimisation = FFTW_ESTIMATE; 155 optimisation = FFTW_ESTIMATE;
156 else if(XTRACT_FFT_OPTIMISATION_LEVEL == 1) 156 else if(XTRACT_FFT_OPTIMISATION_LEVEL == 1)
157 optimisation = FFTW_MEASURE; 157 optimisation = FFTW_MEASURE;