10 #include "test_random.h"
11 #include "pseudo_rand.h"
12 #include "rand_frame.h"
14 #define SET_TEST_FILE() Unity.TestFile = __FILE__
16 #ifndef PRINT_FUNC_NAMES
18 # define PRINT_FUNC_NAMES 1
20 # define PRINT_FUNC_NAMES 0
25 # define PRINT_ERRORS 0
36 #ifndef WRITE_PERFORMANCE_INFO
38 # define WRITE_PERFORMANCE_INFO 1
40 # define WRITE_PERFORMANCE_INFO 0
44 #ifndef PERFORMANCE_INFO_FILENAME
45 # define PERFORMANCE_INFO_FILENAME "perf_info.csv"
48 #define TEST_ASSERT_CONVERSION(V) do{ \
49 char qwe[100]; if((V)){ sprintf(qwe, "Conversion failure (0x%X)", (V)); \
50 TEST_ASSERT_FALSE_MESSAGE(V, qwe); }} while(0)
54 static inline signed sext(
int a,
unsigned b){
56 #if !defined(__XC__) && defined(__XS3A__)
57 asm(
"sext %0, %1":
"=r"(a):
"r"(b));
59 unsigned mask = ~((1<<b)-1);
62 a = p? (a & ~mask) : (a | mask);
69 extern FILE* perf_file;
72 void xs3_fft_index_bit_reversal_double(
74 const unsigned length);
A complex number with a double-precision floating-point real part and a double-precision floating-poi...
Definition: xs3_math_types.h:409