23 #ifndef INCLUDED_GR_COMPLEX_H 24 #define INCLUDED_GR_COMPLEX_H 32 inline bool is_complex (
float x) { (void) x;
return false;}
33 inline bool is_complex (
double x) { (void) x;
return false;}
34 inline bool is_complex (
int x) { (void) x;
return false;}
35 inline bool is_complex (
char x) { (void) x;
return false;}
36 inline bool is_complex (
short x) { (void) x;
return false;}
40 #define CPPUNIT_ASSERT_COMPLEXES_EQUAL(expected,actual,delta) \ 41 CPPUNIT_ASSERT_DOUBLES_EQUAL (expected.real(), actual.real(), delta); \ 42 CPPUNIT_ASSERT_DOUBLES_EQUAL (expected.imag(), actual.imag(), delta); std::complex< double > gr_complexd
Definition: gr_complex.h:28
bool is_complex(gr_complex x)
Definition: gr_complex.h:30
std::complex< float > gr_complex
Definition: gr_complex.h:27