Debian Codegraph @

cmake/cxx_tests/have_complex_fcns.cpp

raw
1 #include <complex>
2 using namespace std;
3
4 int main() {
5 complex<double> x(1.0, 1.0);
6 real(x); imag(x); abs(x); arg(x); norm(x); conj(x); polar(1.0,1.0);
7 return 0;
8 }