summaryrefslogtreecommitdiff
path: root/gnu/dist/libstdc++/complex
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>1998-03-29 08:31:49 +0000
committermrg <mrg@NetBSD.org>1998-03-29 08:31:49 +0000
commit1d9ec375c03e61d8a3d986cfa9e47e8060cf509a (patch)
treed4e3449c96a7263e1e9e519c8f19a3d1cb3ea411 /gnu/dist/libstdc++/complex
parentd3c5e32f1d27a9891610753a12932ae435e29ce6 (diff)
initial import of the egcs 1.0.2 standard c++ library
Diffstat (limited to 'gnu/dist/libstdc++/complex')
-rw-r--r--gnu/dist/libstdc++/complex18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/dist/libstdc++/complex b/gnu/dist/libstdc++/complex
new file mode 100644
index 00000000000..bfdd352b462
--- /dev/null
+++ b/gnu/dist/libstdc++/complex
@@ -0,0 +1,18 @@
+// Main header for the -*- C++ -*- complex number classes.
+// This file is part of the GNU ANSI C++ Library.
+
+#ifndef __COMPLEX__
+#define __COMPLEX__
+
+#include <std/complext.h>
+
+extern "C++" {
+#define __STD_COMPLEX
+
+// ANSI complex types
+typedef complex<float> float_complex;
+typedef complex<double> double_complex;
+typedef complex<long double> long_double_complex;
+}
+
+#endif