☰
Debian Codegraph
@
1:1.0.2+ds-6
/
/
cmake
/
cxx_tests
/
have_complex_fcns.cpp
☽
☼
cmake/cxx_tests/have_complex_fcns.cpp
code
plain
raw
GPL-2+
or
Artistic
© 1997 - 2012 Todd Veldhuizen; © 2002 - 2005 Todd Veldhuizen, Julian Cummings and others
debian/copyright
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
}