1 complex |
1 /* |
|
2 * Copyright (c) 1999 |
|
3 * Silicon Graphics Computer Systems, Inc. |
|
4 * |
|
5 * Copyright (c) 1999 |
|
6 * Boris Fomitchev |
|
7 * |
|
8 * This material is provided "as is", with absolutely no warranty expressed |
|
9 * or implied. Any use is at your own risk. |
|
10 * |
|
11 * Permission to use or copy this software for any purpose is hereby granted |
|
12 * without fee, provided the above notices are retained on all copies. |
|
13 * Permission to modify the code and to distribute modified code is granted, |
|
14 * provided the above notices are retained, and a notice that the code was |
|
15 * modified is included with the above copyright notice. |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef _STLP_template_complex |
|
20 # define _STLP_template_complex |
|
21 |
|
22 # ifndef _STLP_OUTERMOST_HEADER_ID |
|
23 # define _STLP_OUTERMOST_HEADER_ID 0x10 |
|
24 # include <stl/_prolog.h> |
|
25 # endif |
|
26 |
|
27 # ifdef _STLP_OWN_IOSTREAMS |
|
28 // This header declares the template class complex, as described in |
|
29 // in the draft C++ standard. Single-precision complex numbers |
|
30 // are complex<float>, double-precision are complex<double>, and |
|
31 // quad precision are complex<long double>. |
|
32 |
|
33 // Note that the template class complex is declared within namespace |
|
34 // std, as called for by the draft C++ standard |
|
35 |
|
36 # define _STLP_COMPLEX_NAMESPACE _STLP_STD |
|
37 # include <stl/_complex.h> |
|
38 # else |
|
39 # define _STLP_COMPLEX_NAMESPACE _STLP_VENDOR_STD |
|
40 # include <wrap_std/complex> |
|
41 # endif |
|
42 |
|
43 # if (_STLP_OUTERMOST_HEADER_ID == 0x10 ) |
|
44 # include <stl/_epilog.h> |
|
45 # undef _STLP_OUTERMOST_HEADER_ID |
|
46 # endif |
|
47 |
|
48 #endif /* _STLP_template_complex */ |
|
49 |
|
50 // Local Variables: |
|
51 // mode:C++ |
|
52 // End: |