Changeset 1874 in Sophya for trunk/Eval
- Timestamp:
- Jan 20, 2002, 12:40:42 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Eval/COS/vecmapstl.cc
r1869 r1874 74 74 convCR czr, czr1(z1), czr2(zd2), czr3; 75 75 /* if defined(__GNUG__) && (__GNUC__ < 3) */ 76 #if defined(__GNUG__)77 76 complex<float> za; 78 77 complex<double> zb,zc; 79 78 za = czr1.ToComplexF(); zb = czr1.ToComplexD(); zc = czr2.ToComplexD(); 80 cout << " GNUG_Version: __GNUC__ = " << __GNUC__ << endl;81 79 cout << " convCR:.ToComplexF/D() za=(zb)=czr1" << za << " zc=" << zc 82 80 << " zb+zc=" << zb+zc << endl ; 81 #if defined(__GNUG__) 82 cout << " GNUG_Version: __GNUC__ = " << __GNUC__ << endl; 83 83 #else 84 cout << " convCR: czr1(z1)" << (complex<float>)(czr1)84 cout << " convCR: (complex<float>)(czr1(z1))" << (complex<float>)(czr1) 85 85 << " czr2(z2)" << (complex<double>)(czr2) 86 86 << " czr1+czr2= " << (complex<double>)czr2+(complex<double>)czr1 << endl; 87 87 #endif 88 complex<double> zdd; 89 zdd = static_cast< complex<double> >(czr1); 90 cout << " zdd = static_cast< complex<double> >(czr1) = " << zdd << endl; 88 91 } 89 92 catch(exception exc){
Note:
See TracChangeset
for help on using the changeset viewer.