pull/96/head
Ryzerth 2021-03-29 22:41:17 +02:00
rodzic 38c1949538
commit ce56d03c3e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -2,5 +2,5 @@
#include <dsp/types.h>
#define DSP_SIGN(n) ((n) >= 0)
#define DSP_STEP_CPLX(c) (complex_t{(c.i > 0.0f) ? 1.0f : -1.0f, (c.q > 0.0f) ? 1.0f : -1.0f})
#define DSP_STEP_CPLX(c) (complex_t{(c.re > 0.0f) ? 1.0f : -1.0f, (c.im > 0.0f) ? 1.0f : -1.0f})
#define DSP_STEP(n) (((n) > 0.0f) ? 1.0f : -1.0f)