lets see if cexpf can be removed now.

This commit is contained in:
iceman1001 2019-04-14 07:41:25 +02:00
commit 0a9d2ca03d

View file

@ -28,7 +28,15 @@ bool showDemod = true;
pthread_mutex_t print_lock = PTHREAD_MUTEX_INITIALIZER;
static const char *logfilename = "proxmark3.log";
float complex cexpf(float complex Z);
/*
static float complex cexpf(float complex Z) {
float complex Res;
double rho = exp(__real__ Z);
__real__ Res = rho * cosf(__imag__ Z);
__imag__ Res = rho * sinf(__imag__ Z);
return Res;
}
*/
void PrintAndLogOptions(const char *str[][2], size_t size, size_t space) {
char buff[2000] = "Options:\n";
@ -268,10 +276,4 @@ void iceSimple_Filter(int *data, const size_t len, uint8_t k) {
}
}
float complex cexpf(float complex Z) {
float complex Res;
double rho = exp(__real__ Z);
__real__ Res = rho * cosf(__imag__ Z);
__imag__ Res = rho * sinf(__imag__ Z);
return Res;
}