22 #if defined(DB_DOUBLE_PRECISION) 24 typedef double coord_t;
25 typedef double phase_t;
26 typedef unsigned char uint6_t;
28 #elif defined(DB_SINGLE_PRECISION) 30 typedef float coord_t;
31 typedef float phase_t;
32 typedef unsigned char uint6_t;
34 #elif defined(DB_CORDIC) 39 typedef ap_fixed<18,9> coord_t;
40 typedef ap_fixed<16,4> phase_t;
41 typedef ap_uint<6> uint6_t;
45 #error <UNDEFINED ATAN2 METHOD!> 56 void top_atan2 (coord_t y0, coord_t x0, phase_t *zn);
void top_atan2(coord_t y0, coord_t x0, phase_t *zn)